summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-17 23:41:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-17 23:41:56 +0200
commit2695bf4142b3d7154ef123dcc34d531c155af510 (patch)
treea0f7237e770533b262d22becdb14954b504c65b8 /libc/stdlib
parentdef0d92193606e184d356c4d2d1752526573f87c (diff)
parenta9bdc5d28e692c04f51bcea1bb8e87f9c72ad09f (diff)
Merge remote-tracking branch 'origin/upstream'
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;