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/libkse/thread/thr_attr_getscope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libkse/thread/thr_attr_getscope.c') diff --git a/lib/libkse/thread/thr_attr_getscope.c b/lib/libkse/thread/thr_attr_getscope.c index ca0f4c9..8abf418 100644 --- a/lib/libkse/thread/thr_attr_getscope.c +++ b/lib/libkse/thread/thr_attr_getscope.c @@ -35,7 +35,7 @@ #include #include "pthread_private.h" -#pragma weak pthread_attr_getscope=_pthread_attr_getscope +__weak_reference(_pthread_attr_getscope, pthread_attr_getscope); int _pthread_attr_getscope(const pthread_attr_t *attr, int *contentionscope) -- cgit v1.1