* [2.6 patch] kernel/sys_ni.c: add dummy sys_ni_syscall() prototype
@ 2007-08-27 21:29 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-08-27 21:29 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
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>
---
This patch has been sent on:
- 14 Aug 2007
--- 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.
*/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] kernel/sys_ni.c: add dummy sys_ni_syscall() prototype
@ 2007-08-14 21:23 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-08-14 21:23 UTC (permalink / raw)
To: linux-kernel
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>
---
bb96ccd3b695dfa92056e6fc5e42a89ea99f3a8c
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index b0ec498..0c90f60 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.
*/
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-27 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 21:29 [2.6 patch] kernel/sys_ni.c: add dummy sys_ni_syscall() prototype Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2007-08-14 21:23 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox