about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-08 18:16:33 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-08 18:16:33 -0400
commit695a04fc251c3b9feae5535e0c14e7b8f932b892 (patch)
treea42e8d673e27fda528d884978f07defda9214920
parent455f96857f91d14e193219ca00969354a981c09c (diff)
downloadmusl-695a04fc251c3b9feae5535e0c14e7b8f932b892.tar.gz
musl-695a04fc251c3b9feae5535e0c14e7b8f932b892.tar.xz
musl-695a04fc251c3b9feae5535e0c14e7b8f932b892.zip
fix redundant _Noreturn def in err.h
not sure why this was missed in the earlier commit.
-rw-r--r--include/err.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/err.h b/include/err.h
index a6505c36..9f5cb6b9 100644
--- a/include/err.h
+++ b/include/err.h
@@ -1,13 +1,7 @@
 #ifndef _ERR_H
 #define _ERR_H
 
-#if __STDC_VERSION__ >= 201112L
-#elif defined(__GNUC__)
-#define _Noreturn __attribute__((__noreturn__))
-#else
-#define _Noreturn
-#endif
-
+#include <features.h>
 #include <stdarg.h>
 
 #ifdef __cplusplus