diff options
Diffstat (limited to 'lib/version-etc.h')
-rw-r--r-- | lib/version-etc.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/lib/version-etc.h b/lib/version-etc.h index 3f04732..2313d98 100644 --- a/lib/version-etc.h +++ b/lib/version-etc.h @@ -1,9 +1,9 @@ /* Print --version and bug-reporting information in a consistent format. - Copyright (C) 1999, 2003, 2005, 2009-2021 Free Software Foundation, Inc. + Copyright (C) 1999, 2003, 2005, 2009-2023 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation; either version 3 of the + published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file is distributed in the hope that it will be useful, @@ -19,9 +19,19 @@ #ifndef VERSION_ETC_H # define VERSION_ETC_H 1 +/* This file uses _GL_ATTRIBUTE_SENTINEL. */ +# if !_GL_CONFIG_H_INCLUDED +# error "Please include config.h first." +# endif + # include <stdarg.h> # include <stdio.h> +# ifdef __cplusplus +extern "C" +{ +# endif + extern const char version_etc_copyright[]; /* The three functions below display the --version information in the @@ -66,4 +76,8 @@ extern void version_etc (FILE *stream, /* Display the usual "Report bugs to" stanza. */ extern void emit_bug_reporting_address (void); +# ifdef __cplusplus +} +# endif + #endif /* VERSION_ETC_H */ |