In file included from ipc/msg.c:23: include/linux/proc_fs.h:93: warning: `struct mm_struct' declared inside parameter list include/linux/proc_fs.h:93: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Andrew Morton --- 25-sparc64-akpm/include/linux/proc_fs.h | 2 ++ 1 files changed, 2 insertions(+) diff -puN include/linux/proc_fs.h~task_vsize-locking-cleanup-warning-fix include/linux/proc_fs.h --- 25-sparc64/include/linux/proc_fs.h~task_vsize-locking-cleanup-warning-fix 2004-08-24 23:17:10.278473224 -0700 +++ 25-sparc64-akpm/include/linux/proc_fs.h 2004-08-24 23:17:44.815222840 -0700 @@ -86,6 +86,8 @@ extern struct proc_dir_entry *proc_root_ extern void proc_root_init(void); extern void proc_misc_init(void); +struct mm_struct; + struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *); struct dentry *proc_pid_unhash(struct task_struct *p); void proc_pid_flush(struct dentry *proc_dentry); _