diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-02-23 16:12:13 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-02-23 16:12:13 -0800 |
commit | 2d0d7bc61e12779a56272f82bc66044a5580e778 (patch) | |
tree | 90df38908e70c3a6048b9e2ff0831d477a47c737 /src/cli_val.h | |
parent | 8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74 (diff) | |
download | vyatta-cfg-2d0d7bc61e12779a56272f82bc66044a5580e778.tar.gz vyatta-cfg-2d0d7bc61e12779a56272f82bc66044a5580e778.zip |
compile commit with g++
Diffstat (limited to 'src/cli_val.h')
-rw-r--r-- | src/cli_val.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cli_val.h b/src/cli_val.h index dd5a52c..cd19471 100644 --- a/src/cli_val.h +++ b/src/cli_val.h @@ -4,6 +4,10 @@ #include <cli_cstore.h> +#ifdef __cplusplus +extern "C" { +#endif + #ifndef FALSE #define FALSE 0 #endif @@ -120,4 +124,9 @@ int restore_output(void); #else #define DPRINT(fmt, arg...) while (0) { printf(fmt, ##arg); } #endif + +#ifdef __cplusplus +} +#endif + #endif |