From 0732a552cb31a40db47f7d48e54847190e452da9 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 16 Oct 2007 23:29:25 -0700 Subject: [PATCH] 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 --- kernel/sys_ni.c | 4 ++++ 1 file changed, 4 insertions(+) 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. */ -- 2.20.1