diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-03-18 18:09:09 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-03-18 18:09:09 -0400 |
commit | 471dcb24cb9964a3f25dd98628176533f4ba3751 (patch) | |
tree | 2b7c631586578b2cf44079c19919bf75923eb660 /src/modules/access | |
parent | aefab90d52bc075d5cf5b576340d94e05139691f (diff) | |
download | enlightenment-471dcb24cb9964a3f25dd98628176533f4ba3751.tar.gz |
__UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
Diffstat (limited to 'src/modules/access')
-rw-r--r-- | src/modules/access/e_mod_config.c | 14 | ||||
-rw-r--r-- | src/modules/access/e_mod_main.c | 48 |
2 files changed, 31 insertions, 31 deletions
diff --git a/src/modules/access/e_mod_config.c b/src/modules/access/e_mod_config.c index 21a1371757..51eb577fca 100644 --- a/src/modules/access/e_mod_config.c +++ b/src/modules/access/e_mod_config.c @@ -9,9 +9,9 @@ struct _E_Config_Dialog_Data /* local function prototypes */ static void *_create_data (E_Config_Dialog *cfd); static void _fill_data (E_Config_Dialog_Data *cfdata); -static void _free_data (E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata); -static Evas_Object *_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata); -static int _basic_apply (E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata); +static void _free_data (E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata); +static Evas_Object *_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata); +static int _basic_apply (E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata); void _config_pager_module(void) @@ -35,7 +35,7 @@ _config_pager_module(void) /* local function prototypes */ static void * -_create_data(E_Config_Dialog *cfd __UNUSED__) +_create_data(E_Config_Dialog *cfd EINA_UNUSED) { E_Config_Dialog_Data *cfdata; @@ -51,13 +51,13 @@ _fill_data(E_Config_Dialog_Data *cfdata) } static void -_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata) +_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata) { E_FREE(cfdata); } static Evas_Object * -_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata __UNUSED__) +_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata EINA_UNUSED) { Evas_Object *ol, *of; @@ -70,7 +70,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data } static int -_basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata __UNUSED__) +_basic_apply(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata EINA_UNUSED) { e_config_save_queue(); return 1; diff --git a/src/modules/access/e_mod_main.c b/src/modules/access/e_mod_main.c index 5964e01e4b..984b79d095 100644 --- a/src/modules/access/e_mod_main.c +++ b/src/modules/access/e_mod_main.c @@ -474,7 +474,7 @@ _mouse_move(Cover *cov, Ecore_Event_Mouse_Move *ev) } static void -_mouse_wheel(Cover *cov __UNUSED__, Ecore_Event_Mouse_Wheel *ev __UNUSED__) +_mouse_wheel(Cover *cov EINA_UNUSED, Ecore_Event_Mouse_Wheel *ev EINA_UNUSED) { if (ev->z == -1) // up { @@ -487,8 +487,8 @@ _mouse_wheel(Cover *cov __UNUSED__, Ecore_Event_Mouse_Wheel *ev __UNUSED__) } static Eina_Bool -_cb_mouse_down(void *data __UNUSED__, - int type __UNUSED__, +_cb_mouse_down(void *data EINA_UNUSED, + int type EINA_UNUSED, void *event) { Ecore_Event_Mouse_Button *ev = event; @@ -546,8 +546,8 @@ _cb_mouse_down(void *data __UNUSED__, } static Eina_Bool -_cb_mouse_up(void *data __UNUSED__, - int type __UNUSED__, +_cb_mouse_up(void *data EINA_UNUSED, + int type EINA_UNUSED, void *event) { Ecore_Event_Mouse_Button *ev = event; @@ -567,8 +567,8 @@ _cb_mouse_up(void *data __UNUSED__, } static Eina_Bool -_cb_mouse_move(void *data __UNUSED__, - int type __UNUSED__, +_cb_mouse_move(void *data EINA_UNUSED, + int type EINA_UNUSED, void *event) { Ecore_Event_Mouse_Move *ev = event; @@ -698,8 +698,8 @@ _cb_mouse_move(void *data __UNUSED__, } static Eina_Bool -_cb_mouse_wheel(void *data __UNUSED__, - int type __UNUSED__, +_cb_mouse_wheel(void *data EINA_UNUSED, + int type EINA_UNUSED, void *event) { Ecore_Event_Mouse_Wheel *ev = event; @@ -839,9 +839,9 @@ _covers_shutdown(void) } static Eina_Bool -_cb_zone_add(void *data __UNUSED__, - int type __UNUSED__, - void *event __UNUSED__) +_cb_zone_add(void *data EINA_UNUSED, + int type EINA_UNUSED, + void *event EINA_UNUSED) { _covers_shutdown(); _covers_init(); @@ -849,9 +849,9 @@ _cb_zone_add(void *data __UNUSED__, } static Eina_Bool -_cb_zone_del(void *data __UNUSED__, - int type __UNUSED__, - void *event __UNUSED__) +_cb_zone_del(void *data EINA_UNUSED, + int type EINA_UNUSED, + void *event EINA_UNUSED) { _covers_shutdown(); _covers_init(); @@ -859,9 +859,9 @@ _cb_zone_del(void *data __UNUSED__, } static Eina_Bool -_cb_zone_move_resize(void *data __UNUSED__, - int type __UNUSED__, - void *event __UNUSED__) +_cb_zone_move_resize(void *data EINA_UNUSED, + int type EINA_UNUSED, + void *event EINA_UNUSED) { _covers_shutdown(); _covers_init(); @@ -905,8 +905,8 @@ _events_shutdown(void) } static Eina_Bool -_cb_property_change(void *data __UNUSED__, - int type __UNUSED__, +_cb_property_change(void *data EINA_UNUSED, + int type EINA_UNUSED, void *ev) { E_Client *ec; @@ -922,8 +922,8 @@ _cb_property_change(void *data __UNUSED__, } static Eina_Bool -_cb_client_message(void *data __UNUSED__, - int type __UNUSED__, +_cb_client_message(void *data EINA_UNUSED, + int type EINA_UNUSED, void *ev) { int block; @@ -1008,7 +1008,7 @@ e_modapi_init(E_Module *m) } EAPI int -e_modapi_shutdown(E_Module *m __UNUSED__) +e_modapi_shutdown(E_Module *m EINA_UNUSED) { EINA_LOG_INFO("[access module] module shutdown"); if (client_message_handler) ecore_event_handler_del(client_message_handler); @@ -1021,7 +1021,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__) } EAPI int -e_modapi_save(E_Module *m __UNUSED__) +e_modapi_save(E_Module *m EINA_UNUSED) { e_config_domain_save("module.access", conf_edd, access_config); return 1; |