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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0732a552cb31a40db47f7d48e54847190e452da9;p=linux-beck.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 b0ec498a18d9..52c7a151e298 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. */