projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
455f968
)
fix redundant _Noreturn def in err.h
author
Rich Felker
<dalias@aerifal.cx>
Sat, 8 Sep 2012 22:16:33 +0000
(18:16 -0400)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/include/err.h
b/include/err.h
index a6505c366820cd74007bd83007f957e6257692ba..9f5cb6b9e9fad0ff255f2dd1b505cfcec4658d26 100644
(file)
--- 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