[git commit future] prctl.c: no need to include stdarg.h and extern
Peter S. Mazinger
ps.m at gmx.net
Thu Apr 14 07:59:26 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=f93ebe521c927723f052baade0b7519aee9d2643
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
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 39c0d4f..67732bb 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
--
1.7.3.4
More information about the uClibc-cvs
mailing list