summaryrefslogtreecommitdiff
path: root/lib/libc/gen/waitpid.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-03-16 02:14:41 +0000
committerJason Evans <jasone@FreeBSD.org>2000-03-16 02:14:41 +0000
commitb479399f7379f4ba4289ca11528382dfda9e3a68 (patch)
tree426680d20e7b46a4ccb9b41a7aeb78d3d1f562dd /lib/libc/gen/waitpid.c
parent06e88916ef3d7103cf3bc8d075810c48d3a267bc (diff)
Notes
Diffstat (limited to 'lib/libc/gen/waitpid.c')
-rw-r--r--lib/libc/gen/waitpid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/waitpid.c b/lib/libc/gen/waitpid.c
index 3f679a7ebea7..350157a9c393 100644
--- a/lib/libc/gen/waitpid.c
+++ b/lib/libc/gen/waitpid.c
@@ -55,4 +55,6 @@ __waitpid(pid, istat, options)
return (wait4(pid, istat, options, (struct rusage *)0));
}
+#ifndef _THREAD_SAFE
__weak_reference(__waitpid, waitpid);
+#endif