From 919bc52171f32bfe264b987934e1055b6901ac6d Mon Sep 17 00:00:00 2001 From: deischen Date: Wed, 3 Sep 2003 17:56:26 +0000 Subject: Don't assume sizeof(long) = sizeof(int) on x86; use int instead of long types for low-level locks. Add prototypes for some internal libc functions that are wrapped by the library as cancellation points. Add memory barriers to alpha atomic swap functions (submitted by davidxu). Requested by: bde --- lib/libpthread/thread/thr_waitpid.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libpthread/thread/thr_waitpid.c') diff --git a/lib/libpthread/thread/thr_waitpid.c b/lib/libpthread/thread/thr_waitpid.c index 8ee3ce1..e09bbd5 100644 --- a/lib/libpthread/thread/thr_waitpid.c +++ b/lib/libpthread/thread/thr_waitpid.c @@ -34,6 +34,8 @@ #include #include "thr_private.h" +extern int __waitpid(pid_t, int *, int); + __weak_reference(_waitpid, waitpid); pid_t -- cgit v1.1