diff options
-rw-r--r-- | lib/libc_r/uthread/uthread_main_np.c | 3 | ||||
-rw-r--r-- | lib/libkse/thread/thr_main_np.c | 3 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_main_np.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_main_np.c b/lib/libc_r/uthread/uthread_main_np.c index 1ce3369..6ae7d1e 100644 --- a/lib/libc_r/uthread/uthread_main_np.c +++ b/lib/libc_r/uthread/uthread_main_np.c @@ -34,8 +34,9 @@ /* * Provide the equivelant to Solaris thr_main() function */ +#pragma weak pthread_main_np=_pthread_main_np int -pthread_main_np() +_pthread_main_np() { if (!_thread_initial) diff --git a/lib/libkse/thread/thr_main_np.c b/lib/libkse/thread/thr_main_np.c index 1ce3369..6ae7d1e 100644 --- a/lib/libkse/thread/thr_main_np.c +++ b/lib/libkse/thread/thr_main_np.c @@ -34,8 +34,9 @@ /* * Provide the equivelant to Solaris thr_main() function */ +#pragma weak pthread_main_np=_pthread_main_np int -pthread_main_np() +_pthread_main_np() { if (!_thread_initial) diff --git a/lib/libpthread/thread/thr_main_np.c b/lib/libpthread/thread/thr_main_np.c index 1ce3369..6ae7d1e 100644 --- a/lib/libpthread/thread/thr_main_np.c +++ b/lib/libpthread/thread/thr_main_np.c @@ -34,8 +34,9 @@ /* * Provide the equivelant to Solaris thr_main() function */ +#pragma weak pthread_main_np=_pthread_main_np int -pthread_main_np() +_pthread_main_np() { if (!_thread_initial) |