aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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.