Browse Source

prctl.c: no need to include stdarg.h and extern

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 13 years ago
parent
commit
f95e1b4c61
1 changed files with 1 additions and 2 deletions
  1. 1 2
      libc/sysdeps/linux/common/prctl.c

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

@@ -8,10 +8,9 @@
  */
 
 #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);
+int prctl (int, long, long, long, long);
 _syscall5(int, prctl, int, option, long, _a2, long, _a3, long, _a4, long, _a5)
 #endif