summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-09-16 21:36:54 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-09-16 22:42:06 +0200
commitcce3af55b325650f7ac50eb2e7a5f79800d60377 (patch)
tree38bda25cbf7d95d08af856a692f3c62328edf181 /libc/stdlib
parent41537a770b46f2376e74af58ba4885749339e81e (diff)
libc: silence missing prototype warning
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index 8c5d25d51..3ef9a8b1c 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -18,6 +18,7 @@
#include <sysdep-cancel.h>
#endif
+extern __typeof(system) __libc_system;
#if !defined __UCLIBC_HAS_THREADS_NATIVE__
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include <sys/syscall.h>
@@ -25,7 +26,6 @@
# define vfork fork
#endif
-extern __typeof(system) __libc_system;
int __libc_system(const char *command)
{
int wait_val, pid;