From: Adrian Bunk Date: Wed, 17 Oct 2007 06:29:25 +0000 (-0700) Subject: kernel/sys_ni.c: add dummy sys_ni_syscall() prototype X-Git-Tag: v2.6.24-rc1~651 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0732a552cb31a40db47f7d48e54847190e452da9;p=linux-2.6-omap-h63xx.git kernel/sys_ni.c: add dummy sys_ni_syscall() prototype kernel/sys_ni.c can't #include due to cond_syscall(), but let's tell gcc to not warn with -Wmissing-prototypes. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index b0ec498a18d..52c7a151e29 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c @@ -4,6 +4,10 @@ #include +/* we can't #include here, + but tell gcc to not warn with -Wmissing-prototypes */ +asmlinkage long sys_ni_syscall(void); + /* * Non-implemented system calls get redirected here. */