From 5118b901062861e5e5fca2cf2acc36fd26ebf8f6 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Sun, 15 Feb 2004 09:43:03 +0000
Subject: Cris can use the generic vfork

---
 libc/sysdeps/linux/cris/Makefile |  2 +-
 libc/sysdeps/linux/cris/vfork.c  | 11 -----------
 2 files changed, 1 insertion(+), 12 deletions(-)
 delete mode 100644 libc/sysdeps/linux/cris/vfork.c

(limited to 'libc/sysdeps')

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)
-- 
cgit v1.2.3