diff options
author | Zack Weinberg <zackw@panix.com> | 2017-06-09 09:37:55 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2017-06-09 09:37:55 -0400 |
commit | b4971123e9e681126cb8eaae6d5de56be84c9e98 (patch) | |
tree | 4e2c3a6cc21bad2a21900e667b3d36d115a5f5ae /include | |
parent | 65b6d8b79c20bbf83209c6a23645cf5422170e5d (diff) | |
download | glibc-b4971123e9e681126cb8eaae6d5de56be84c9e98.zip glibc-b4971123e9e681126cb8eaae6d5de56be84c9e98.tar.gz glibc-b4971123e9e681126cb8eaae6d5de56be84c9e98.tar.bz2 |
Remove bare use of __attribute__ in include/errno.h.
This is just a style fix; we always prefer the shorthand macros over
bare uses of __attribute__, even in private headers.
* include/errno.h (__errno_location): Use __attribute_const__
instead of bare __attribute__.
Diffstat (limited to 'include')
-rw-r--r-- | include/errno.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |