OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87be6ca
)
prctl.c: no need to include stdarg.h and extern
author
Peter S. Mazinger
<ps.m@gmx.net>
Sat, 16 Apr 2011 00:07:22 +0000
(
02:07
+0200)
committer
Bernhard 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
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/prctl.c
b/libc/sysdeps/linux/common/prctl.c
index
39c0d4f
..
67732bb
100644
(file)
--- 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