summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_main_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkse/thread/thr_main_np.c')
-rw-r--r--lib/libkse/thread/thr_main_np.c3
1 files changed, 2 insertions, 1 deletions
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 <pthread_np.h>
#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()
{
OpenPOWER on IntegriCloud