diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-17 08:29:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 17:42:55 +0200 |
commit | 0732a552cb31a40db47f7d48e54847190e452da9 (patch) | |
tree | 9ce130a249dd339556bcc804b0e6ad9600382985 /kernel | |
parent | n_hdlc.c: fix check-after-use (diff) | |
download | linux-0732a552cb31a40db47f7d48e54847190e452da9.tar.xz linux-0732a552cb31a40db47f7d48e54847190e452da9.zip |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sys_ni.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <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. */ |