summaryrefslogtreecommitdiff
path: root/src/common/unionfs.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-02-23 14:10:03 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-02-23 14:10:03 -0800
commit8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74 (patch)
tree2bca0bde51b184d84b55f115d4cbf8b846223f97 /src/common/unionfs.h
parent95b4b15c8b0d47a7323cd74858714023c7a22a22 (diff)
downloadvyatta-cfg-8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74.tar.gz
vyatta-cfg-8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74.zip
remove compiler warnings
Diffstat (limited to 'src/common/unionfs.h')
-rw-r--r--src/common/unionfs.h7
1 files changed, 7 insertions, 0 deletions
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__