summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-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