From 8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 23 Feb 2011 14:10:03 -0800 Subject: remove compiler warnings --- src/common/unionfs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/common/unionfs.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__ -- cgit v1.2.3