summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-15 23:11:38 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-15 23:11:38 +0000
commit07a7a2eba8a938d4256324b874043ecd4af511fa (patch)
tree780730c8eb5c74941142fedf64ffe5b69f3ff8c1 /lib/libpthread/thread
parent355670482e3b3f8149fe1181fda9785ea644806d (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r--lib/libpthread/thread/thr_main_np.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_main_np.c b/lib/libpthread/thread/thr_main_np.c
index 6ae7d1e2489a..54c20180df57 100644
--- a/lib/libpthread/thread/thr_main_np.c
+++ b/lib/libpthread/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()
{