Преглед на файлове

fix redundant _Noreturn def in err.h

not sure why this was missed in the earlier commit.
Rich Felker преди 12 години
родител
ревизия
695a04fc25
променени са 1 файла, в които са добавени 1 реда и са изтрити 7 реда
  1. 1 7
      include/err.h

+ 1 - 7
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