diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-09-28 01:18:49 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-09-28 01:21:41 -0700 |
commit | 6160ee8e4d2b88d934c3c4c8c5930a75b835723f (patch) | |
tree | d3bb622f4a9703c77097fe160b8886e79fff6e14 /lib/attribute.h | |
parent | 02b29b87878354203b133a86c57e77f9ea9d8bca (diff) | |
download | gnulib-6160ee8e4d2b88d934c3c4c8c5930a75b835723f.tar.gz |
version-etc: pacify Oracle Studio 12.6
Without this patch, it complains: "version-etc.h", line 64:
warning: token-less macro argument (E_TOKENLESS_MACRO)" when in
pedantic mode.
* lib/version-etc.h (version_etc): Port to C89 macro rules.
Diffstat (limited to 'lib/attribute.h')
-rw-r--r-- | lib/attribute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/attribute.h b/lib/attribute.h index d8d6286c05..b97514655f 100644 --- a/lib/attribute.h +++ b/lib/attribute.h @@ -80,7 +80,7 @@ /* Attributes for variadic functions. */ /* The variadic function expects a trailing NULL argument. - ATTRIBUTE_SENTINEL () - The last argument is NULL. + ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ /* Applies to: functions. */ #define ATTRIBUTE_SENTINEL(pos) _GL_ATTRIBUTE_SENTINEL (pos) |