init/do_mounts.c: proper prepare_namespace() prototype

Add a proper protype for prepare_namespace() in include/linux/init.h.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Adrian Bunk 2007-05-08 00:24:47 -07:00 committed by Linus Torvalds
parent b2ead6e012
commit 46595390e9
3 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,8 @@ extern char *saved_command_line;
extern unsigned int reset_devices; extern unsigned int reset_devices;
/* used by init/main.c */ /* used by init/main.c */
extern void setup_arch(char **); void setup_arch(char **);
void prepare_namespace(void);
#endif #endif

View File

@ -9,6 +9,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/init.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h> #include <linux/nfs_fs_sb.h>

View File

@ -94,7 +94,6 @@ extern void pidmap_init(void);
extern void prio_tree_init(void); extern void prio_tree_init(void);
extern void radix_tree_init(void); extern void radix_tree_init(void);
extern void free_initmem(void); extern void free_initmem(void);
extern void prepare_namespace(void);
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
extern void acpi_early_init(void); extern void acpi_early_init(void);
#else #else