OSDN Git Service

LT.old: Make __errno_location/__h_errno_location thread safe
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / prctl.c
index 39c0d4f..5f29cdb 100644 (file)
@@ -8,10 +8,10 @@
  */
 
 #include <sys/syscall.h>
-#include <stdarg.h>
 /* psm: including sys/prctl.h would depend on kernel headers */
 
 #ifdef __NR_prctl
-extern int prctl (int, long, long, long, long);
-_syscall5(int, prctl, int, option, long, _a2, long, _a3, long, _a4, long, _a5)
+int prctl (int, long, long, long, long);
+_syscall5(int, prctl, int, option, long, _prctl_a2, long, _prctl_a3,
+               long, _prctl_a4, long, _prctl_a5)
 #endif