aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-31 20:58:40 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-31 20:58:40 +0200
commit263447c730da55c9346c0a905d402c5c3b77f1e3 (patch)
tree9b8a9cc2a4ea8e43a8c654b390e0ac8249a5910d
parentupdate todo (diff)
downloadslibc-263447c730da55c9346c0a905d402c5c3b77f1e3.tar.gz
slibc-263447c730da55c9346c0a905d402c5c3b77f1e3.tar.bz2
slibc-263447c730da55c9346c0a905d402c5c3b77f1e3.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/errno.h2
-rw-r--r--include/slibc-error.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/errno.h b/include/errno.h
index 0415cfb..a1cc191 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -38,7 +38,7 @@
* assured that the value is thread-dependent
* and supported on all revisions of C.
*/
-volatile int* __errno(void) __GCC_ONLY(__attribute__((__const__))); /* TODO not implemented */
+volatile int* __errno(void) __GCC_ONLY(__attribute__((const))); /* TODO not implemented */
#ifndef _PORTABLE_SOURCE
diff --git a/include/slibc-error.h b/include/slibc-error.h
index 768ceef..6232aab 100644
--- a/include/slibc-error.h
+++ b/include/slibc-error.h
@@ -200,7 +200,7 @@
* Helper function to keep track of the line of origin, in a
* thread-safe manner, without requiring new revisions of C.
*/
-int* __slibc_error_line(void) __GCC_ONLY(__attribute__((__const__))); /* TODO not implemented */
+int* __slibc_error_line(void) __GCC_ONLY(__attribute__((const))); /* TODO not implemented */
/**
* Print a description of an error, and where the error occurred.