From cd0acadf511dddc20ce56f096eb54b0b80d81ffb Mon Sep 17 00:00:00 2001 From: davidxu Date: Thu, 20 Dec 2007 04:32:28 +0000 Subject: Remove vfork() overloading, it is no longer needed. --- lib/libthr/pthread.map | 2 -- lib/libthr/thread/thr_syscalls.c | 9 --------- 2 files changed, 11 deletions(-) (limited to 'lib/libthr') diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map index 123fdd9..c6e146b 100644 --- a/lib/libthr/pthread.map +++ b/lib/libthr/pthread.map @@ -169,7 +169,6 @@ global: system; tcdrain; usleep; - vfork; wait; wait3; wait4; @@ -366,7 +365,6 @@ global: _spinlock; _spinlock_debug; _spinunlock; - _vfork; /* Debugger needs these. */ _libthr_debug; diff --git a/lib/libthr/thread/thr_syscalls.c b/lib/libthr/thread/thr_syscalls.c index 74a0950..4a0dd72 100644 --- a/lib/libthr/thread/thr_syscalls.c +++ b/lib/libthr/thread/thr_syscalls.c @@ -149,7 +149,6 @@ pid_t __wait3(int *, int, struct rusage *); pid_t __wait4(pid_t, int *, int, struct rusage *); ssize_t __write(int, const void *, size_t); ssize_t __writev(int, const struct iovec *, int); -int _vfork(void); __weak_reference(__accept, accept); @@ -529,14 +528,6 @@ ___usleep(useconds_t useconds) return (ret); } -__weak_reference(_vfork, vfork); - -int -_vfork(void) -{ - return (fork()); -} - __weak_reference(___wait, wait); pid_t -- cgit v1.1