summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-10-30 15:02:22 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 17:37:20 -0800
commitdfb7dac3af623a68262536437af008ed6aba4d88 (patch)
treefdc8a61c73257dcf8866cf7b9213ce78d2422e7f /arch/um
parent7024a9b884ed7657fb873e655cd124d85ae792a4 (diff)
downloadop-kernel-dev-dfb7dac3af623a68262536437af008ed6aba4d88.zip
op-kernel-dev-dfb7dac3af623a68262536437af008ed6aba4d88.tar.gz
[PATCH] unify sys_ptrace prototype
Make sure we always return, as all syscalls should. Also move the common prototype to <linux/syscalls.h> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/include/sysdep-i386/syscalls.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/sysdep-i386/syscalls.h b/arch/um/include/sysdep-i386/syscalls.h
index a0d5b74..57bd79e 100644
--- a/arch/um/include/sysdep-i386/syscalls.h
+++ b/arch/um/include/sysdep-i386/syscalls.h
@@ -11,7 +11,6 @@ typedef long syscall_handler_t(struct pt_regs);
/* Not declared on x86, incompatible declarations on x86_64, so these have
* to go here rather than in sys_call_table.c
*/
-extern syscall_handler_t sys_ptrace;
extern syscall_handler_t sys_rt_sigaction;
extern syscall_handler_t old_mmap_i386;
OpenPOWER on IntegriCloud