projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use the correct attributes for ___errno_location
[musl]
/
src
/
include
/
errno.h
diff --git
a/src/include/errno.h
b/src/include/errno.h
index
54a38ff
..
8ec4937
100644
(file)
--- a/
src/include/errno.h
+++ b/
src/include/errno.h
@@
-3,6
+3,9
@@
#include "../../include/errno.h"
#include "../../include/errno.h"
+#ifdef __GNUC__
+__attribute__((const))
+#endif
hidden int *___errno_location(void);
#undef errno
hidden int *___errno_location(void);
#undef errno