summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-03 11:52:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-03 11:52:22 +0200
commitde1a908af2944e6601fb14f88933abebd02649e1 (patch)
tree8a68d40a3dedccf2008b33006154cc5d4fdf1179 /sysdeps
parent3142d0ded19ebd164d1ac90ee5850ed281812446 (diff)
Move pthread.h to where glibc will find it
* include/pthread.h: Move to... * sysdeps/pthread/pthread.h: ... here.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/pthread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/pthread/pthread.h b/sysdeps/pthread/pthread.h
new file mode 100644
index 0000000..1d4d3c7
--- /dev/null
+++ b/sysdeps/pthread/pthread.h
@@ -0,0 +1,7 @@
+#ifndef _PTHREAD_H
+#include <pthread/pthread.h>
+
+extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
+extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
+
+#endif