summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2007-12-20 04:32:28 +0000
committerdavidxu <davidxu@FreeBSD.org>2007-12-20 04:32:28 +0000
commitcd0acadf511dddc20ce56f096eb54b0b80d81ffb (patch)
tree802200c1a8ba9f3b4ba8557b7109306064be08fc /lib/libthr
parent85788af52a5faf10ff1d44ac84dd51bb36da1212 (diff)
downloadFreeBSD-src-cd0acadf511dddc20ce56f096eb54b0b80d81ffb.zip
FreeBSD-src-cd0acadf511dddc20ce56f096eb54b0b80d81ffb.tar.gz
Remove vfork() overloading, it is no longer needed.
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/pthread.map2
-rw-r--r--lib/libthr/thread/thr_syscalls.c9
2 files changed, 0 insertions, 11 deletions
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
OpenPOWER on IntegriCloud