aboutsummaryrefslogtreecommitdiffstats
path: root/include/errno.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-17 02:09:54 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-17 02:09:54 +0200
commitc5fff98a6b144deb338e70a909f1efcb03dd44ad (patch)
tree71bd6c1165c5cc8c256a9713d35cb49da7a4a79c /include/errno.h
parentfix errors (diff)
downloadslibc-c5fff98a6b144deb338e70a909f1efcb03dd44ad.tar.gz
slibc-c5fff98a6b144deb338e70a909f1efcb03dd44ad.tar.bz2
slibc-c5fff98a6b144deb338e70a909f1efcb03dd44ad.tar.xz
improve attributes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/errno.h')
-rw-r--r--include/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index deb17d8..390c463 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -49,7 +49,7 @@
* and supported on all revisions of C.
*/
volatile int* __errno(void) /* TODO not implemented */
- __GCC_ONLY(__attribute__((const)));
+ __GCC_ONLY(__attribute__((__const__)));
/**