diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-15 09:43:03 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-15 09:43:03 +0000 |
commit | 5118b901062861e5e5fca2cf2acc36fd26ebf8f6 (patch) | |
tree | f28afbdb597f520cafd6d794fb5ed413182e23b4 /libc | |
parent | 2148212370266d46c4bd2d370196bcce1c5fe7db (diff) |
Cris can use the generic vfork
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/cris/Makefile | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/cris/vfork.c | 11 |
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) |