lkml.org 
[lkml]   [2005]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] move name_to_dev_t prototype where it belongs

...this fixes warning in swsusp and removes two prototypes done "by
hand".

Signed-off-by: Pavel Machek <pavel@suse.cz>

--- linux-good/include/linux/mount.h 2005-04-27 15:04:30.000000000 +0200
+++ linux-struct/include/linux/mount.h 2005-07-12 10:24:53.000000000 +0200
@@ -74,6 +74,7 @@
int mnt_flags, struct list_head *fslist);

extern void mark_mounts_for_expiry(struct list_head *mounts);
+extern dev_t name_to_dev_t(char *name);

extern spinlock_t vfsmount_lock;

--- linux-good/init/do_mounts.h 2005-04-27 15:04:30.000000000 +0200
+++ linux-struct/init/do_mounts.h 2005-07-12 10:24:25.000000000 +0200
@@ -9,7 +9,6 @@
#include <linux/major.h>
#include <linux/root_dev.h>

-dev_t name_to_dev_t(char *name);
void change_floppy(char *fmt, ...);
void mount_block_root(char *name, int flags);
void mount_root(void);
--- linux-good/kernel/power/disk.c 2005-07-03 23:51:41.000000000 +0200
+++ linux-struct/kernel/power/disk.c 2005-07-12 10:17:29.000000000 +0200
@@ -16,6 +16,7 @@
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/fs.h>
+#include <linux/mount.h>
#include "power.h"


--- linux-good/kernel/power/swsusp.c 2005-07-03 23:55:30.000000000 +0200
+++ linux-struct/kernel/power/swsusp.c 2005-07-12 10:17:15.000000000 +0200
@@ -1399,8 +1399,6 @@
return error;
}

-extern dev_t name_to_dev_t(const char *line);
-
/**
* read_pagedir - Read page backup list pages from swap
*/
--
teflon -- maybe it is a trademark, but it should not be.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-12 10:37    [W:0.036 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site