+2020-05-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix version-etc glitch on OpenIndiana
+ Problem reported by Mats Erik Andersson in:
+ https://lists.gnu.org/r/bug-gnulib/2020-05/msg00067.html
+ * lib/version-etc.h (_GL_ATTRIBUTE_SENTINEL): Remove defn
+ that now clashes with gnulib-common.h. All uses changed.
+
2020-05-03 Paul Eggert <eggert@cs.ucla.edu>
attribute: new module
# include <stdarg.h>
# include <stdio.h>
-/* The 'sentinel' attribute was added in gcc 4.0. */
-#ifndef _GL_ATTRIBUTE_SENTINEL
-# if 4 <= __GNUC__
-# define _GL_ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
-# else
-# define _GL_ATTRIBUTE_SENTINEL /* empty */
-# endif
-#endif
-
extern const char version_etc_copyright[];
/* The three functions below display the --version information in the
const char *command_name, const char *package,
const char *version,
/* const char *author1, ..., NULL */ ...)
- _GL_ATTRIBUTE_SENTINEL;
+ _GL_ATTRIBUTE_SENTINEL ();
/* Display the usual "Report bugs to" stanza. */
extern void emit_bug_reporting_address (void);