summaryrefslogtreecommitdiff
path: root/lib/libc/gen/waitpid.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-03-20 08:47:53 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-03-20 08:47:53 +0000
commit172a0f0d163415e05ea07968167b11145975a6cb (patch)
tree9aa566d70cf21723fdc7dd72a1e969afc59199b2 /lib/libc/gen/waitpid.c
parent0a7d464a504f6250db61ce48c53a89e631d59301 (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 3f679a7ebea73..350157a9c393e 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