Skip to content

Commit

Permalink
init/do_mounts.c: proper prepare_namespace() prototype
Browse files Browse the repository at this point in the history
Add a proper protype for prepare_namespace() in include/linux/init.h.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed May 8, 2007
1 parent b2ead6e commit 4659539
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/linux/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ extern char *saved_command_line;
extern unsigned int reset_devices;

/* used by init/main.c */
extern void setup_arch(char **);
void setup_arch(char **);
void prepare_namespace(void);

#endif

Expand Down
1 change: 1 addition & 0 deletions init/do_mounts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ extern void pidmap_init(void);
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
Expand Down

0 comments on commit 4659539

Please sign in to comment.