summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-01 13:34:18 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-01 13:34:41 -0600
commit01881503631a691c0701434cfe6d70fd8e258534 (patch)
tree7a31def6bec7c2a6d1d37a759d069d8c40a705ca
parent4131f1dae51993d4f3dbde91305cddc898094519 (diff)
remove unused Linux 2.0 compat code, otherwise c6x without NPTL is broken
-rw-r--r--libc/stdlib/system.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index 7f81f947a..8a6734db7 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -20,11 +20,7 @@
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>
-#ifndef __NR_vfork
-# define vfork fork
-#endif
int __libc_system(const char *command)
{