diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-22 16:52:46 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-22 16:52:46 +0000 |
commit | cf4bfa4a4c5216e2d07a7fec4aa6487fa56003c9 (patch) | |
tree | 01419aa94d258881cbdd5c1d5c0d9a5ef75e1cf8 | |
parent | 23e100abfe088d846df479ab176cba28f43a7814 (diff) |
Install bits/pthreadtypes.h
And make it expose only types, not the rest of the pthread API.
* Makefile (headers): Add bits/pthreadtypes.h.
* sysdeps/generic/bits/pthreadtypes.h: Include <pthread/pthreadtypes.h>
instead of <pthread.h>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | sysdeps/generic/bits/pthreadtypes.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -164,6 +164,7 @@ headers := \ \ bits/pthread.h \ bits/pthread-np.h \ + bits/pthreadtypes.h \ bits/mutex.h \ bits/condition.h \ bits/condition-attr.h \ diff --git a/sysdeps/generic/bits/pthreadtypes.h b/sysdeps/generic/bits/pthreadtypes.h index e5cbfd2..70368ff 100644 --- a/sysdeps/generic/bits/pthreadtypes.h +++ b/sysdeps/generic/bits/pthreadtypes.h @@ -24,6 +24,6 @@ #ifndef _BITS_PTHREADTYPES_H #define _BITS_PTHREADTYPES_H 1 -#include <pthread.h> +#include <pthread/pthreadtypes.h> #endif /* bits/pthreadtypes.h */ |