diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/common.h | 7 | ||||
-rw-r--r-- | src/common/unionfs.h | 7 |
2 files changed, 14 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__ diff --git a/src/common/unionfs.h b/src/common/unionfs.h index 0682b69..747262a 100644 --- a/src/common/unionfs.h +++ b/src/common/unionfs.h @@ -7,6 +7,10 @@ #include "../cli_val.h" #include "../cli_objects.h" +#ifdef __cplusplus +extern "C" { +#endif + #define UNSAVED_FILE ".unsaved" #define DISABLE_FILE ".disable" #define DEF_FILE "def" @@ -32,5 +36,8 @@ struct ValueData NODE_OPERATION _state; }; +#ifdef __cplusplus +} +#endif #endif //__UNIONFS_HH__ |