diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 01:59:16 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 01:59:16 +0100 |
commit | 23deccd65c65f8e695bdf88321bcb7ee9a0d475d (patch) | |
tree | e371e63d9b13a7291436250dca0af2b6e72af591 /sysdeps/mach/bits | |
parent | e708e2af80f403ba868d5cd095bd87913fc88c56 (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/mach/bits')
-rw-r--r-- | sysdeps/mach/bits/spin-lock-inline.h | 4 | ||||
-rw-r--r-- | sysdeps/mach/bits/types/__pthread_spinlock_t.h (renamed from sysdeps/mach/bits/spin-lock.h) | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/mach/bits/spin-lock-inline.h b/sysdeps/mach/bits/spin-lock-inline.h index c1c599c..695c6dc 100644 --- a/sysdeps/mach/bits/spin-lock-inline.h +++ b/sysdeps/mach/bits/spin-lock-inline.h @@ -20,7 +20,7 @@ #define _BITS_SPIN_LOCK_INLINE_H 1 #include <features.h> -#include <bits/spin-lock.h> +#include <bits/types/__pthread_spinlock_t.h> #include <lock-intern.h> /* This does all the work. */ __BEGIN_DECLS @@ -84,4 +84,4 @@ __pthread_spin_unlock (__pthread_spinlock_t *__lock) __END_DECLS -#endif /* bits/spin-lock.h */ +#endif /* bits/types/__pthread_spinlock_t.h */ diff --git a/sysdeps/mach/bits/spin-lock.h b/sysdeps/mach/bits/types/__pthread_spinlock_t.h index ef210fc..038e2b4 100644 --- a/sysdeps/mach/bits/spin-lock.h +++ b/sysdeps/mach/bits/types/__pthread_spinlock_t.h @@ -16,8 +16,8 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#ifndef _BITS_SPIN_LOCK_H -#define _BITS_SPIN_LOCK_H 1 +#ifndef _BITS_TYPES___PTHREAD_SPINLOCK_T_H +#define _BITS_TYPES___PTHREAD_SPINLOCK_T_H 1 #include <features.h> @@ -31,4 +31,4 @@ typedef volatile int __pthread_spinlock_t; __END_DECLS -#endif /* bits/spin-lock.h */ +#endif /* bits/types/__pthread_spinlock_t.h */ |