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_clean.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libpthread/thread/thr_clean.c') diff --git a/lib/libpthread/thread/thr_clean.c b/lib/libpthread/thread/thr_clean.c index 9ce3fc2..6330cb9 100644 --- a/lib/libpthread/thread/thr_clean.c +++ b/lib/libpthread/thread/thr_clean.c @@ -37,8 +37,8 @@ #include #include "pthread_private.h" -#pragma weak pthread_cleanup_push=_pthread_cleanup_push -#pragma weak pthread_cleanup_pop=_pthread_cleanup_pop +__weak_reference(_pthread_cleanup_push, pthread_cleanup_push); +__weak_reference(_pthread_cleanup_pop, pthread_cleanup_pop); void _pthread_cleanup_push(void (*routine) (void *), void *routine_arg) -- cgit v1.1