summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-01 19:34:18 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-01 19:34:41 (GMT)
commit01881503631a691c0701434cfe6d70fd8e258534 (patch)
tree7a31def6bec7c2a6d1d37a759d069d8c40a705ca /libc/stdlib
parent4131f1dae51993d4f3dbde91305cddc898094519 (diff)
remove unused Linux 2.0 compat code, otherwise c6x without NPTL is broken
Diffstat (limited to 'libc/stdlib')
-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 7f81f94..8a6734d 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)
{