From 263447c730da55c9346c0a905d402c5c3b77f1e3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 31 Aug 2015 20:58:40 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/errno.h | 2 +- include/slibc-error.h | 2 +- 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. -- cgit v1.2.3-70-g09d2