mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
kernel/sys_ni.c: add dummy sys_ni_syscall() prototype
kernel/sys_ni.c can't #include <linux/syscalls.h> due to cond_syscall(), but let's tell gcc to not warn with -Wmissing-prototypes. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
827afdf093
commit
0732a552cb
@ -4,6 +4,10 @@
|
||||
|
||||
#include <asm/unistd.h>
|
||||
|
||||
/* we can't #include <linux/syscalls.h> here,
|
||||
but tell gcc to not warn with -Wmissing-prototypes */
|
||||
asmlinkage long sys_ni_syscall(void);
|
||||
|
||||
/*
|
||||
* Non-implemented system calls get redirected here.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user