Parcourir la source

create local prototype

Mike Frysinger il y a 18 ans
Parent
commit
ed92e90941
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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"
 
 #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