Browse Source

create local prototype

Mike Frysinger 18 years ago
parent
commit
ed92e90941
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libc/sysdeps/linux/common/arch_prctl.c

+ 2 - 1
libc/sysdeps/linux/common/arch_prctl.c

@@ -10,5 +10,6 @@
 #include "syscalls.h"
 #include "syscalls.h"
 
 
 #ifdef __NR_arch_prctl
 #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
 #endif