From: Adrian Bunk Ad a proper prototype for migration_init() in include/linux/fs.h Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- fs/proc/proc_misc.c | 1 - include/linux/fs.h | 1 + init/do_mounts.c | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) diff -puN fs/proc/proc_misc.c~proper-prototype-for-get_filesystem_list fs/proc/proc_misc.c --- a/fs/proc/proc_misc.c~proper-prototype-for-get_filesystem_list +++ a/fs/proc/proc_misc.c @@ -65,7 +65,6 @@ */ extern int get_hardware_list(char *); extern int get_stram_list(char *); -extern int get_filesystem_list(char *); extern int get_exec_domain_list(char *); extern int get_dma_list(char *); diff -puN include/linux/fs.h~proper-prototype-for-get_filesystem_list include/linux/fs.h --- a/include/linux/fs.h~proper-prototype-for-get_filesystem_list +++ a/include/linux/fs.h @@ -2097,6 +2097,7 @@ struct ctl_table; int proc_nr_files(struct ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos); +int get_filesystem_list(char * buf); #endif /* __KERNEL__ */ #endif /* _LINUX_FS_H */ diff -puN init/do_mounts.c~proper-prototype-for-get_filesystem_list init/do_mounts.c --- a/init/do_mounts.c~proper-prototype-for-get_filesystem_list +++ a/init/do_mounts.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -18,8 +19,6 @@ #include "do_mounts.h" -extern int get_filesystem_list(char * buf); - int __initdata rd_doload; /* 1 = load RAM disk, 0 = don't load */ int root_mountflags = MS_RDONLY | MS_SILENT; _