[patch] move name_to_dev_t prototype where it belongs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Pavel Machek <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux