LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] init/do_mounts.c: proper prepare_namespace() prototype
@ 2007-02-25 23:19 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-02-25 23:19 UTC (permalink / raw)
  To: linux-kernel

This patch adds a proper protype for prepare_namespace() in 
include/linux/init.h.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 include/linux/init.h |    3 ++-
 init/do_mounts.c     |    1 +
 init/main.c          |    1 -
 3 files changed, 3 insertions(+), 2 deletions(-)

--- linux-2.6.20-mm2/include/linux/init.h.old	2007-02-25 19:54:02.000000000 +0100
+++ linux-2.6.20-mm2/include/linux/init.h	2007-02-25 19:57:56.000000000 +0100
@@ -72,7 +72,8 @@
 extern unsigned int reset_devices;
 
 /* used by init/main.c */
-extern void setup_arch(char **);
+void setup_arch(char **);
+void prepare_namespace(void);
 
 #endif
   
--- linux-2.6.20-mm2/init/do_mounts.c.old	2007-02-25 19:54:59.000000000 +0100
+++ linux-2.6.20-mm2/init/do_mounts.c	2007-02-25 19:55:12.000000000 +0100
@@ -9,6 +9,7 @@
 #include <linux/delay.h>
 #include <linux/mount.h>
 #include <linux/device.h>
+#include <linux/init.h>
 
 #include <linux/nfs_fs.h>
 #include <linux/nfs_fs_sb.h>
--- linux-2.6.20-mm2/init/main.c.old	2007-02-25 19:55:21.000000000 +0100
+++ linux-2.6.20-mm2/init/main.c	2007-02-25 19:55:35.000000000 +0100
@@ -94,7 +94,6 @@
 extern void prio_tree_init(void);
 extern void radix_tree_init(void);
 extern void free_initmem(void);
-extern void prepare_namespace(void);
 #ifdef	CONFIG_ACPI
 extern void acpi_early_init(void);
 #else


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

only message in thread, other threads:[~2007-02-25 23:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-25 23:19 [2.6 patch] init/do_mounts.c: proper prepare_namespace() prototype Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).