diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-02-23 14:10:03 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-02-23 14:10:03 -0800 |
commit | 8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74 (patch) | |
tree | 2bca0bde51b184d84b55f115d4cbf8b846223f97 /src/common/common.h | |
parent | 95b4b15c8b0d47a7323cd74858714023c7a22a22 (diff) | |
download | vyatta-cfg-8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74.tar.gz vyatta-cfg-8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74.zip |
remove compiler warnings
Diffstat (limited to 'src/common/common.h')
-rw-r--r-- | src/common/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/common.h b/src/common/common.h index 8b46498..1a323ee 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -4,6 +4,9 @@ #include "defs.h" #include "unionfs.h" +#ifdef __cplusplus +extern "C" { +#endif boolean execute(char *cmd); @@ -50,4 +53,8 @@ common_commit_copy_to_live_config(GNode *root_node, boolean suppress_piecewise_c void common_commit_clean_temp_config(GNode *root_node, boolean test_mode); +#ifdef __cplusplus +} +#endif + #endif //__COMMON_H__ |