diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/errno.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2017-06-09 Zack Weinberg <zackw@panix.com> + * include/errno.h (__errno_location): Use __attribute_const__ + instead of bare __attribute__. + +2017-06-09 Zack Weinberg <zackw@panix.com> + * Makeconfig (dl-tunable-list.h): Generate using a stamp file. (common-generated): Add libc-modules.h and libc-modules.stmp in a more appropriate location. Also add dl-tunable-list.h and diff --git a/include/errno.h b/include/errno.h index 73fc32e..f140631 100644 --- a/include/errno.h +++ b/include/errno.h @@ -39,7 +39,7 @@ extern __thread int errno attribute_tls_model_ie; # define __set_errno(val) (errno = (val)) # ifndef __ASSEMBLER__ -extern int *__errno_location (void) __THROW __attribute__ ((__const__)) +extern int *__errno_location (void) __THROW __attribute_const__ # if RTLD_PRIVATE_ERRNO attribute_hidden # endif |