diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-16 02:07:22 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:38 +0200 |
commit | f95e1b4c613043715b2a04ee941156126a848f77 (patch) | |
tree | 47e880cc567b12b9ddf73b8269b026fddeb20ac3 /libc/sysdeps | |
parent | 87be6cadfcd87d9484f439c4002b9537656c4929 (diff) |
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>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/prctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/prctl.c b/libc/sysdeps/linux/common/prctl.c index 39c0d4fb0..67732bb90 100644 --- a/libc/sysdeps/linux/common/prctl.c +++ b/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 |