OSDN Git Service

remove unused Linux 2.0 compat code, otherwise c6x without NPTL is broken
authorWaldemar Brodkorb <wbx@openadk.org>
Thu, 1 Jan 2015 19:34:18 +0000 (13:34 -0600)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 1 Jan 2015 19:34:41 +0000 (13:34 -0600)
libc/stdlib/system.c

index 7f81f94..8a6734d 100644 (file)
 
 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)
 {