Jelajahi Sumber

create local prototype

Mike Frysinger 18 tahun lalu
induk
melakukan
ed92e90941
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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