diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-01-24 13:03:38 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-01-24 13:03:38 +0000 |
| commit | e5106342c6de9cbe26c4827e4e29bae309cd8cfb (patch) | |
| tree | 5199387f09deaa21f12482317c165f815c4e8c2b /lib/libpthread/thread/thr_attr_init.c | |
| parent | f9447cd11209a5fb5ecef3f4cbe539e990f3b1bd (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_attr_init.c')
| -rw-r--r-- | lib/libpthread/thread/thr_attr_init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_attr_init.c b/lib/libpthread/thread/thr_attr_init.c index dbe3091b0ab2..2e560c703ac2 100644 --- a/lib/libpthread/thread/thr_attr_init.c +++ b/lib/libpthread/thread/thr_attr_init.c @@ -34,11 +34,13 @@ #include <string.h> #include <stdlib.h> #include <errno.h> -#ifdef _THREAD_SAFE #include <pthread.h> #include "pthread_private.h" -int pthread_attr_init(pthread_attr_t *attr) +#pragma weak pthread_attr_init=_pthread_attr_init + +int +_pthread_attr_init(pthread_attr_t *attr) { int ret; pthread_attr_t pattr; @@ -57,4 +59,3 @@ int pthread_attr_init(pthread_attr_t *attr) } return(ret); } -#endif |
