summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_fork.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-12 09:28:58 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-12 09:28:58 +0000
commitf560c4e709d6f3b1edb5349d928670577918afb8 (patch)
treed979bd2ea9814f01e82a7f04298d08346e265a2d /lib/libpthread/thread/thr_fork.c
parent929273386f6e688c008b15fd24932df2ed7e7172 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_fork.c')
-rw-r--r--lib/libpthread/thread/thr_fork.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_fork.c b/lib/libpthread/thread/thr_fork.c
index 08ea8129ea71..8c112e8b2796 100644
--- a/lib/libpthread/thread/thr_fork.c
+++ b/lib/libpthread/thread/thr_fork.c
@@ -41,7 +41,7 @@
#include "pthread_private.h"
pid_t
-fork(void)
+_libc_fork(void)
{
int i, flags;
pid_t ret;
@@ -220,4 +220,6 @@ fork(void)
/* Return the process ID: */
return (ret);
}
+
+__weak_reference(_libc_fork, fork);
#endif