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/libc_r/uthread/uthread_self.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc_r/uthread/uthread_self.c') diff --git a/lib/libc_r/uthread/uthread_self.c b/lib/libc_r/uthread/uthread_self.c index 3c92daa..1c09e3d 100644 --- a/lib/libc_r/uthread/uthread_self.c +++ b/lib/libc_r/uthread/uthread_self.c @@ -34,7 +34,7 @@ #include #include "pthread_private.h" -#pragma weak pthread_self=_pthread_self +__weak_reference(_pthread_self, pthread_self); pthread_t _pthread_self(void) -- cgit v1.1