From dd46d4e05f2e301b4d9451bbfabfabbc788975c5 Mon Sep 17 00:00:00 2001 From: deischen Date: Tue, 10 Apr 2001 04:19:21 +0000 Subject: To be consistent, use the __weak_reference macro from instead of #pragma weak to create weak definitions. Suggested by: bde --- lib/libpthread/thread/thr_wait4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread/thread/thr_wait4.c') diff --git a/lib/libpthread/thread/thr_wait4.c b/lib/libpthread/thread/thr_wait4.c index 8b44366..6c4e068 100644 --- a/lib/libpthread/thread/thr_wait4.c +++ b/lib/libpthread/thread/thr_wait4.c @@ -38,7 +38,7 @@ #include #include "pthread_private.h" -#pragma weak wait4=_wait4 +__weak_reference(_wait4, wait4); pid_t _wait4(pid_t pid, int *istat, int options, struct rusage * rusage) -- cgit v1.1