OSDN Git Service

prctl.c: no need to include stdarg.h and extern
authorPeter S. Mazinger <ps.m@gmx.net>
Sat, 16 Apr 2011 00:07:22 +0000 (02:07 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:38 +0000 (14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common/prctl.c

index 39c0d4f..67732bb 100644 (file)
@@ -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