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_switch_np.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libkse/thread/thr_switch_np.c') diff --git a/lib/libkse/thread/thr_switch_np.c b/lib/libkse/thread/thr_switch_np.c index e999259..f24d99f 100644 --- a/lib/libkse/thread/thr_switch_np.c +++ b/lib/libkse/thread/thr_switch_np.c @@ -37,8 +37,8 @@ #include "pthread_private.h" -#pragma weak pthread_switch_add_np=_pthread_switch_add_np -#pragma weak pthread_switch_delete_np=_pthread_switch_delete_np +__weak_reference(_pthread_switch_add_np, pthread_switch_add_np); +__weak_reference(_pthread_switch_delete_np, pthread_switch_delete_np); int _pthread_switch_add_np(pthread_switch_routine_t routine) -- cgit v1.1