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_creat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libpthread/thread/thr_creat.c') diff --git a/lib/libpthread/thread/thr_creat.c b/lib/libpthread/thread/thr_creat.c index bba8ec3..478e037 100644 --- a/lib/libpthread/thread/thr_creat.c +++ b/lib/libpthread/thread/thr_creat.c @@ -33,6 +33,8 @@ #include #include "thr_private.h" +extern int __creat(const char *, mode_t); + __weak_reference(___creat, creat); int -- cgit v1.1