OSDN Git Service

Cris can use the generic vfork
authorEric Andersen <andersen@codepoet.org>
Sun, 15 Feb 2004 09:43:03 +0000 (09:43 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 15 Feb 2004 09:43:03 +0000 (09:43 -0000)
libc/sysdeps/linux/cris/Makefile
libc/sysdeps/linux/cris/vfork.c [deleted file]

index 095e881..1b5735e 100644 (file)
@@ -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 (file)
index 54c6a47..0000000
+++ /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)