From 2cae3ce3f198c36572a61b7c1cb6224eb9c66109 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 15 Apr 2002 23:11:38 +0000 Subject: The GCC developers have made good on their threats against #pragma for 3.1. Use __weak_reference in place of the #pragma. Submitted by: eischen --- lib/libkse/thread/thr_main_np.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libkse') diff --git a/lib/libkse/thread/thr_main_np.c b/lib/libkse/thread/thr_main_np.c index 6ae7d1e..54c2018 100644 --- a/lib/libkse/thread/thr_main_np.c +++ b/lib/libkse/thread/thr_main_np.c @@ -31,10 +31,11 @@ #include #include "pthread_private.h" +__weak_reference(_pthread_main_np, pthread_main_np); + /* * Provide the equivelant to Solaris thr_main() function */ -#pragma weak pthread_main_np=_pthread_main_np int _pthread_main_np() { -- cgit v1.1