summaryrefslogtreecommitdiff
path: root/pthread
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-19 01:07:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-19 01:35:21 +0100
commit5aa60db21b545797f47808603c97ffc168a45dd9 (patch)
treeccd0d9654c19f1adb51f3cafaf0dab59f96e5f4d /pthread
parent13222caf06cce1225122a7ae92d6e782145718ab (diff)
Avoid installing private pthread.h
It was actually by mistake that sysdeps/pthread/pthread.h was getting installed and that we'd have an include/pthread/pthread.h. Let's simplify this. * sysdeps/pthread/pthread.h: Move file content to... * ./sysdeps/pthread/pthreadP.h: ... here. * sysdeps/generic/pthread/pthread.h: Move file to... * sysdeps/generic/pthread.h: ... here. * Makefile (headers): Remove pthread/pthread.h. * Makeconfig (includes): Remove -I$(..)htl/include. * pthread/cthreads-compat.c: Include <pthreadP.h> instead of <pthread.h>
Diffstat (limited to 'pthread')
-rw-r--r--pthread/cthreads-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/cthreads-compat.c b/pthread/cthreads-compat.c
index ffb7177..042ed64 100644
--- a/pthread/cthreads-compat.c
+++ b/pthread/cthreads-compat.c
@@ -17,7 +17,7 @@
not, see <http://www.gnu.org/licenses/>. */
#include <assert.h>
-#include <pthread.h>
+#include <pthreadP.h>
#define CTHREAD_KEY_INVALID (__cthread_key_t) -1