diff options
author | Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de> | 2022-01-08 11:41:21 +0100 |
---|---|---|
committer | Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de> | 2022-01-08 11:41:21 +0100 |
commit | a5aba144db292c55c7eafd59eccd1bdeea0b91b1 (patch) | |
tree | 804c871a9ecac32a9311dacd432d544df37ff20f /lib | |
parent | cfaebd1eaf093e481dddbc5c57d3fc76135d136b (diff) | |
download | gnulib-a5aba144db292c55c7eafd59eccd1bdeea0b91b1.tar.gz |
version-etc: Adapt header file for use in C++ applications.
* lib/version-etc.h: Add extern "C" block.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/version-etc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/version-etc.h b/lib/version-etc.h index 93fbdca428..c6b4eef4b0 100644 --- a/lib/version-etc.h +++ b/lib/version-etc.h @@ -22,6 +22,11 @@ # 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 +71,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 */ |