From 334b9a33a8adcddaf144e8285367c6753b7ab7ec Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 3 Aug 2008 18:56:49 +0000 Subject: * Makefile (sysdeps_headers): Add spin-lock-inline.h. (SYSDEP_PATH): Move sysdeps/i386 right after sysdeps/$(MICROKERNEL)/i386. * include/pthread/pthread.h: Include . * sysdeps/i386/bits/spin-lock.h: Move inlines to... * sysdeps/i386/bits/spin-lock-inline.h: ... new file. * sysdeps/mach/bits/spin-lock.h: Move inlines to... * sysdeps/mach/bits/spin-lock-inline.h: ... new file. --- include/pthread/pthread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/pthread/pthread.h') diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h index ba9c7dc..76733e0 100644 --- a/include/pthread/pthread.h +++ b/include/pthread/pthread.h @@ -423,6 +423,8 @@ extern int pthread_spin_unlock (pthread_spinlock_t *__lock); # ifdef __USE_EXTERN_INLINES +# include + __extern_inline int pthread_spin_destroy (pthread_spinlock_t *__lock) { -- cgit v1.2.3