summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pthread.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-19 01:59:16 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-19 01:59:16 +0100
commit23deccd65c65f8e695bdf88321bcb7ee9a0d475d (patch)
treee371e63d9b13a7291436250dca0af2b6e72af591 /sysdeps/generic/pthread.h
parente708e2af80f403ba868d5cd095bd87913fc88c56 (diff)
Move bits/spin-lock.h to bits/types/__pthread_spinlock_t.h
* sysdeps/mach/bits/spin-lock.h: Move file to... * sysdeps/mach/bits/types/__pthread_spinlock_t.h: ... here. * Makefile (headers): Move bits/spin-lock.h to bits/types/__pthread_spinlock_t.h. * pthread/pt-spin-inlines.c: Update accordingly. * sysdeps/generic/pthread.h: Likewise. * sysdeps/mach/bits/spin-lock-inline.h: Likewise. * sysdeps/pthread/bits/barrier.h: Likewise. * sysdeps/pthread/bits/condition.h: Likewise. * sysdeps/pthread/bits/mutex.h: Likewise. * sysdeps/pthread/bits/once.h: Likewise. * sysdeps/pthread/bits/pthreadtypes.h: Likewise. * sysdeps/pthread/bits/rwlock.h: Likewise. * sysdeps/pthread/bits/semaphore.h: Likewise.
Diffstat (limited to 'sysdeps/generic/pthread.h')
-rw-r--r--sysdeps/generic/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pthread.h b/sysdeps/generic/pthread.h
index d2e73c2..cded1ca 100644
--- a/sysdeps/generic/pthread.h
+++ b/sysdeps/generic/pthread.h
@@ -521,7 +521,7 @@ extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
#ifdef __USE_XOPEN2K
-# include <bits/spin-lock.h>
+# include <bits/types/__pthread_spinlock_t.h>
#define PTHREAD_SPINLOCK_INITIALIZER __PTHREAD_SPIN_LOCK_INITIALIZER