Add missing extern "C" directives in header files
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Thu, 3 Oct 2013 14:56:33 +0000 (11:56 -0300)
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Thu, 3 Oct 2013 14:56:33 +0000 (11:56 -0300)
Change-Id: Icd50b604a28b17a642f8037c4fb9d354a33ecd3e
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
src/wkb-ibus-config-eet.h
src/wkb-ibus-defs.h

index 40c5b89..205c6bb 100644 (file)
 #include <Eina.h>
 #include <Eldbus.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct wkb_ibus_config_eet;
 
 Eina_Bool wkb_ibus_config_eet_set_value(struct wkb_ibus_config_eet *config_eet, const char *section, const char *name, Eldbus_Message_Iter *value);
@@ -34,4 +38,8 @@ void wkb_ibus_config_eet_free(struct wkb_ibus_config_eet *config_eet);
 int wkb_ibus_config_eet_init(void);
 void wkb_ibus_config_eet_shutdown(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif  /* _WKB_IBUS_CONFIG_EET_H_ */
index e45d4c6..37995d5 100644 (file)
@@ -39,7 +39,6 @@ extern "C" {
 #define IBUS_ERROR_NO_CONFIG    "org.freedesktop.IBus.Error.NoConfig"
 #define IBUS_ERROR_FAILED       "org.freedesktop.IBus.Error.Failed"
 
-
 #ifdef __cplusplus
 }
 #endif