lkml.org 
[lkml]   [2007]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] init/do_mounts.c: proper prepare_namespace() prototype
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
-
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: 2007-02-26 00:23    [W:0.022 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site