diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-03-01 08:50:36 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-03-01 08:50:36 +0000 |
commit | 8ddf0913dd44798af631439ea1a0179ef9d33ec3 (patch) | |
tree | 0aa82d5695be12a65842f6733a54659f1954f09d /lib/librt | |
parent | c6524368869a75e3b763eea109b83a55015878b3 (diff) | |
download | FreeBSD-src-8ddf0913dd44798af631439ea1a0179ef9d33ec3.zip FreeBSD-src-8ddf0913dd44798af631439ea1a0179ef9d33ec3.tar.gz |
Forgot to revert to use weak symbols when I was debugging, fix it!
Diffstat (limited to 'lib/librt')
-rw-r--r-- | lib/librt/sigev_thread.c | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/lib/librt/sigev_thread.c b/lib/librt/sigev_thread.c index 3dadc12..695a643 100644 --- a/lib/librt/sigev_thread.c +++ b/lib/librt/sigev_thread.c @@ -62,28 +62,21 @@ static struct sigev_thread_node *sigev_thread_create(pthread_attr_t *); static void *sigev_service_loop(void *); #pragma weak pthread_create - -__weak_reference(__sigev_stub_zero, pthread_attr_getschedpolicy); -__weak_reference(__sigev_stub_zero, pthread_attr_getinheritsched); -__weak_reference(__sigev_stub_zero, pthread_attr_getschedparam); -__weak_reference(__sigev_stub_zero, pthread_attr_getscope); -__weak_reference(__sigev_stub_zero, pthread_attr_getstacksize); -__weak_reference(__sigev_stub_zero, pthread_attr_getstackaddr); -__weak_reference(__sigev_stub_zero, pthread_attr_getguardsize); -__weak_reference(__sigev_stub_zero, pthread_attr_init); -__weak_reference(__sigev_stub_zero, pthread_attr_setscope); -__weak_reference(__sigev_stub_zero, pthread_attr_setdetachstate); -__weak_reference(__sigev_stub_zero, pthread_atfork); -__weak_reference(__sigev_stub_zero, _pthread_once); -__weak_reference(__sigev_stub_zero, pthread_cleanup_push); -__weak_reference(__sigev_stub_zero, pthread_cleanup_pop); -__weak_reference(__sigev_stub_zero, pthread_setcancelstate); - -int -__sigev_stub_zero(void) -{ - return (0); -} +#pragma weak pthread_attr_getschedpolicy +#pragma weak pthread_attr_getinheritsched +#pragma weak pthread_attr_getschedparam +#pragma weak pthread_attr_getscope +#pragma weak pthread_attr_getstacksize +#pragma weak pthread_attr_getstackaddr +#pragma weak pthread_attr_getguardsize +#pragma weak pthread_attr_init +#pragma weak pthread_attr_setscope +#pragma weak pthread_attr_setdetachstate +#pragma weak pthread_atfork +#pragma weak _pthread_once +#pragma weak pthread_cleanup_push +#pragma weak pthread_cleanup_pop +#pragma weak pthread_setcancelstate static __inline void attr2sna(pthread_attr_t *attr, struct sigev_thread_attr *sna) |