summaryrefslogtreecommitdiff
path: root/include/pthread.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-08 17:14:52 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-08 17:14:52 -0400
commit455f96857f91d14e193219ca00969354a981c09c (patch)
tree82c387b652bbc5492693be147a904bf98d69954a /include/pthread.h
parentb7afd7a7ec95fdc98dd31078891a9563d6f4ac73 (diff)
downloadmusl-455f96857f91d14e193219ca00969354a981c09c.tar.gz
remove all remaining redundant __restrict/__inline/_Noreturn defs
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/pthread.h b/include/pthread.h
index bc0d9f1c..74d86006 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -4,18 +4,7 @@
extern "C" {
#endif
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
-
-#if __STDC_VERSION__ >= 201112L
-#elif defined(__GNUC__)
-#define _Noreturn __attribute__((__noreturn__))
-#else
-#define _Noreturn
-#endif
+#include <features.h>
#define __NEED_time_t
#define __NEED_clockid_t