浏览代码

create local prototype

Mike Frysinger 18 年之前
父节点
当前提交
ed92e90941
共有 1 个文件被更改,包括 2 次插入1 次删除
  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