summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/cris/Makefile2
-rw-r--r--libc/sysdeps/linux/cris/vfork.c11
2 files changed, 1 insertions, 12 deletions
diff --git a/libc/sysdeps/linux/cris/Makefile b/libc/sysdeps/linux/cris/Makefile
index 095e8815c..1b5735e9b 100644
--- a/libc/sysdeps/linux/cris/Makefile
+++ b/libc/sysdeps/linux/cris/Makefile
@@ -30,7 +30,7 @@ ifeq ($(UNIFIED_SYSCALL),y)
endif
SOBJS=$(patsubst %.S,%.o, $(SSRC))
-CSRC= __init_brk.c brk.c sbrk.c vfork.c
+CSRC= __init_brk.c brk.c sbrk.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(COBJS)
diff --git a/libc/sysdeps/linux/cris/vfork.c b/libc/sysdeps/linux/cris/vfork.c
deleted file mode 100644
index 54c6a47da..000000000
--- a/libc/sysdeps/linux/cris/vfork.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <sys/types.h>
-#include <sys/syscall.h>
-#include <unistd.h>
-
-__pid_t
-__vfork __P ((void))
-{
- return fork();
-}
-
-weak_alias (__vfork, vfork)