summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/waitpid.c
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-03-16 02:14:41 +0000
committerjasone <jasone@FreeBSD.org>2000-03-16 02:14:41 +0000
commit23c4215cb0e4dd315f6b1873c3004247d76e088a (patch)
treea5db3308f49350af42e8ac76a1fad86691cde069 /lib/libc/gen/waitpid.c
parentd073c75df5afca85c621a7f89f1e1ff45a1835b4 (diff)
downloadFreeBSD-src-23c4215cb0e4dd315f6b1873c3004247d76e088a.zip
FreeBSD-src-23c4215cb0e4dd315f6b1873c3004247d76e088a.tar.gz
Take care to avoid having "strong" and "weak" symbols of the same name in
libc_r.
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 3f679a7..350157a 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
OpenPOWER on IntegriCloud