fix redundant _Noreturn def in err.h
authorRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 22:16:33 +0000 (18:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 22:16:33 +0000 (18:16 -0400)
not sure why this was missed in the earlier commit.

include/err.h

index a6505c3..9f5cb6b 100644 (file)
@@ -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