summaryrefslogtreecommitdiff
path: root/src/cli_objects.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-02-23 16:12:13 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-02-23 16:12:13 -0800
commit2d0d7bc61e12779a56272f82bc66044a5580e778 (patch)
tree90df38908e70c3a6048b9e2ff0831d477a47c737 /src/cli_objects.h
parent8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74 (diff)
downloadvyatta-cfg-2d0d7bc61e12779a56272f82bc66044a5580e778.tar.gz
vyatta-cfg-2d0d7bc61e12779a56272f82bc66044a5580e778.zip
compile commit with g++
Diffstat (limited to 'src/cli_objects.h')
-rw-r--r--src/cli_objects.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli_objects.h b/src/cli_objects.h
index 889c772..e9ae12e 100644
--- a/src/cli_objects.h
+++ b/src/cli_objects.h
@@ -3,6 +3,10 @@
#include "cli_val.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* names of VYATTA env vars */
#define ENV_EDIT_LEVEL "VYATTA_EDIT_LEVEL"
#define ENV_TEMPLATE_LEVEL "VYATTA_TEMPLATE_LEVEL"
@@ -43,4 +47,8 @@ const char* get_tmpp(void);
void init_paths(boolean for_commit);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CLI_OBJ_H */