diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-05-03 13:58:06 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-05-03 13:58:27 -0700 |
commit | d805ea7e2843ca854be19c17ab327d5366147b92 (patch) | |
tree | 36b743905ed8a39518e827dec244e3f19629f2c1 /lib/attribute.h | |
parent | c08f85d74f2964c00613930342bfa27f971fc2be (diff) | |
download | gnulib-d805ea7e2843ca854be19c17ab327d5366147b92.tar.gz |
attribute: minor fixups
Suggested by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2020-05/msg00049.html
Diffstat (limited to 'lib/attribute.h')
-rw-r--r-- | lib/attribute.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/attribute.h b/lib/attribute.h index ffd9bdfa28..4861c17364 100644 --- a/lib/attribute.h +++ b/lib/attribute.h @@ -30,8 +30,9 @@ #define MAYBE_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED #define NODISCARD _GL_ATTRIBUTE_NODISCARD -/* Attributes from GCC have macro names beginning with 'ATTRIBUTE_' to - avoid name clashes. */ +/* Selected GCC attributes; see: + https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html + These names begin with 'ATTRIBUTE_' to avoid name clashes. */ #define ATTRIBUTE_ALLOC_SIZE(args) _GL_ATTRIBUTE_ALLOC_SIZE(args) #define ATTRIBUTE_ALWAYS_INLINE _GL_ATTRIBUTE_ALWAYS_INLINE #define ATTRIBUTE_ARTIFICIAL _GL_ATTRIBUTE_ARTIFICIAL |