/* Print --version and bug-reporting information in a consistent format.
- Copyright (C) 1999, 2003, 2005, 2009-2013 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2003, 2005, 2009-2021 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
/* Written by Jim Meyering. */
# 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 ((0));
/* Display the usual "Report bugs to" stanza. */
extern void emit_bug_reporting_address (void);