From: Andrew Morton - Fix: In file included from fs/dcache.c:17: include/linux/syscalls.h:608: warning: 'struct ukevent' declared inside parameter list include/linux/syscalls.h:608: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/syscalls.h:609: warning: 'struct ukevent' declared inside parameter list - Coding style cleanups Cc: Evgeniy Polyakov Cc: Michael Kerrisk Cc: "David S. Miller" Cc: Ulrich Drepper Signed-off-by: Andrew Morton --- include/linux/syscalls.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff -puN include/linux/syscalls.h~kevent-core-files-fix include/linux/syscalls.h --- a/include/linux/syscalls.h~kevent-core-files-fix +++ a/include/linux/syscalls.h @@ -54,6 +54,7 @@ struct compat_stat; struct compat_timeval; struct robust_list_head; struct getcpu_cache; +struct ukevent; #include #include @@ -604,8 +605,11 @@ asmlinkage long sys_getcpu(unsigned __us int kernel_execve(const char *filename, char *const argv[], char *const envp[]); -asmlinkage long sys_kevent_get_events(int ctl_fd, unsigned int min, unsigned int max, - __u64 timeout, struct ukevent __user *buf, unsigned flags); -asmlinkage long sys_kevent_ctl(int ctl_fd, unsigned int cmd, unsigned int num, struct ukevent __user *buf); -asmlinkage long sys_kevent_wait(int ctl_fd, unsigned int start, unsigned int num, __u64 timeout); +asmlinkage long sys_kevent_get_events(int ctl_fd, unsigned int min, + unsigned int max, __u64 timeout, struct ukevent __user *buf, + unsigned flags); +asmlinkage long sys_kevent_ctl(int ctl_fd, unsigned int cmd, unsigned int num, + struct ukevent __user *buf); +asmlinkage long sys_kevent_wait(int ctl_fd, unsigned int start, + unsigned int num, __u64 timeout); #endif _