summaryrefslogtreecommitdiff
path: root/libc/stdlib/system.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-15 10:30:54 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-15 10:30:54 +0000
commitab1101f24b79849c10ccca5f003436d0f5374d0e (patch)
tree4d218b9b5a9ff723301c1f765fefbdb81e48e8bc /libc/stdlib/system.c
parent02605efdb3a8db28810894186b494c7186720cc7 (diff)
only declare vfork when needed, else no-mmu build fails
Diffstat (limited to 'libc/stdlib/system.c')
-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 e25831e0b..27a1b0d45 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -15,12 +15,12 @@ libc_hidden_proto(wait4)
libc_hidden_proto(execl)
libc_hidden_proto(signal)
libc_hidden_proto(vfork)
-libc_hidden_proto(fork)
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include <sys/syscall.h>
#if ! defined __NR_vfork
#define vfork fork
+libc_hidden_proto(fork)
#endif
int __libc_system(char *command)