summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 16:30:49 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 16:30:49 +0000
commited92e90941178d9b5a84d0cb591c722bdf61c382 (patch)
tree45b3ad78a50b3b4c337359543facfdbb0bf2edb6 /libc/sysdeps
parenta2cd030e9394373176e6fa03a16dd00ef3d73a4e (diff)
create local prototype
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/arch_prctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/arch_prctl.c b/libc/sysdeps/linux/common/arch_prctl.c
index 6569a6832..4b35322a6 100644
--- a/libc/sysdeps/linux/common/arch_prctl.c
+++ b/libc/sysdeps/linux/common/arch_prctl.c
@@ -10,5 +10,6 @@
#include "syscalls.h"
#ifdef __NR_arch_prctl
-_syscall2(int, arch_prctl, int, cod, unsigned long, addr);
+extern int arch_prctl(int code, unsigned long addr);
+_syscall2(int, arch_prctl, int, code, unsigned long, addr);
#endif