Commit:     0732a552cb31a40db47f7d48e54847190e452da9
Parent:     827afdf093cce59bbbf9dc9f1c2eab86e2232b9e
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 23:29:25 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 08:42:55 2007 -0700

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 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 b0ec498..52c7a15 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.
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to