diff options
Diffstat (limited to 'lib/printversion.h')
-rw-r--r-- | lib/printversion.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/printversion.h b/lib/printversion.h index 4154b328..6811aa5b 100644 --- a/lib/printversion.h +++ b/lib/printversion.h @@ -32,6 +32,9 @@ #include <argp.h> #include <stdio.h> +#ifdef __cplusplus +extern "C" { +#endif /* Defined in version.c. Common ARGP_PROGRAM_VERSION_HOOK_DEF. */ void print_version (FILE *stream, struct argp_state *state); @@ -49,4 +52,8 @@ extern const char *const apba__; #define ARGP_PROGRAM_BUG_ADDRESS_DEF \ const char *const apba__ __asm ("argp_program_bug_address") +#ifdef __cplusplus +} +#endif + #endif // PRINTVERSION_H |