summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2001-04-03 22:25:39 +0000
committerIan Dowse <iedowse@FreeBSD.org>2001-04-03 22:25:39 +0000
commit92f5474235d675e6c80d87e36dfe853e6668f8b9 (patch)
treedb6d8caea3abc18c99559d566bafde840431bc0c /lib
parentc62292231005ff901a419f978d4853c673f129f8 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/uthread/uthread_main_np.c3
-rw-r--r--lib/libkse/thread/thr_main_np.c3
-rw-r--r--lib/libpthread/thread/thr_main_np.c3
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 1ce336998f59..6ae7d1e2489a 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 1ce336998f59..6ae7d1e2489a 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 1ce336998f59..6ae7d1e2489a 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)