mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] move name_to_dev_t prototype where it belongs
@ 2005-07-12  8:30 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-07-12  8:30 UTC (permalink / raw)
  To: Andrew Morton, kernel list


...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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-12  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-12  8:30 [patch] move name_to_dev_t prototype where it belongs Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®