diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-04-10 04:19:21 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-04-10 04:19:21 +0000 |
| commit | 437df4859af22264a2c620a3720c776bf0c4a58d (patch) | |
| tree | 953269f13c394f2d6c6b0aa9a73344d82f509fc2 /lib/libpthread/thread/thr_cancel.c | |
| parent | 54fd7f685f42878f99a2e2d8428d084f9b1125ab (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_cancel.c')
| -rw-r--r-- | lib/libpthread/thread/thr_cancel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_cancel.c b/lib/libpthread/thread/thr_cancel.c index 55f94fbc36f7..8b9132ce651d 100644 --- a/lib/libpthread/thread/thr_cancel.c +++ b/lib/libpthread/thread/thr_cancel.c @@ -8,10 +8,10 @@ static void finish_cancellation(void *arg); -#pragma weak pthread_cancel=_pthread_cancel -#pragma weak pthread_setcancelstate=_pthread_setcancelstate -#pragma weak pthread_setcanceltype=_pthread_setcanceltype -#pragma weak pthread_testcancel=_pthread_testcancel +__weak_reference(_pthread_cancel, pthread_cancel); +__weak_reference(_pthread_setcancelstate, pthread_setcancelstate); +__weak_reference(_pthread_setcanceltype, pthread_setcanceltype); +__weak_reference(_pthread_testcancel, pthread_testcancel); int _pthread_cancel(pthread_t pthread) |
