diff options
author | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2013-10-03 11:56:33 -0300 |
---|---|---|
committer | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2013-10-03 11:56:33 -0300 |
commit | 9c744b620236b394f1cf9bd092f98a5c015b9579 (patch) | |
tree | 09a65b1505cbd3b9ab0e59470827d1cca2e19085 | |
parent | cec0f5d37dc37920e931b9bfad2d23caa4f5425f (diff) | |
download | weekeyboard-9c744b620236b394f1cf9bd092f98a5c015b9579.tar.gz weekeyboard-9c744b620236b394f1cf9bd092f98a5c015b9579.tar.bz2 weekeyboard-9c744b620236b394f1cf9bd092f98a5c015b9579.zip |
Add missing extern "C" directives in header files
Change-Id: Icd50b604a28b17a642f8037c4fb9d354a33ecd3e
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-rw-r--r-- | src/wkb-ibus-config-eet.h | 8 | ||||
-rw-r--r-- | src/wkb-ibus-defs.h | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/wkb-ibus-config-eet.h b/src/wkb-ibus-config-eet.h index 40c5b89..205c6bb 100644 --- a/src/wkb-ibus-config-eet.h +++ b/src/wkb-ibus-config-eet.h @@ -20,6 +20,10 @@ #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_ */ diff --git a/src/wkb-ibus-defs.h b/src/wkb-ibus-defs.h index e45d4c6..37995d5 100644 --- a/src/wkb-ibus-defs.h +++ b/src/wkb-ibus-defs.h @@ -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 |