summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProht <proht>2020-01-29 17:18:32 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-30 17:36:48 +0100
commit1f2a97cd24720e605118f2871276f1c593309ab1 (patch)
tree9ed7c6669b669b3e4190b528ded8da0def89070d
parent7bcf182d49469634774da57bbae99d60609d2445 (diff)
edje: use EINA_UNUSED consistently after declaration in function signatures
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11237
-rw-r--r--src/lib/edje/edje_lua.c16
-rw-r--r--src/lib/edje/edje_match.c2
-rw-r--r--src/lib/edje/edje_util.c16
3 files changed, 17 insertions, 17 deletions
diff --git a/src/lib/edje/edje_lua.c b/src/lib/edje/edje_lua.c
index f31c3172fe..5fcee88c00 100644
--- a/src/lib/edje/edje_lua.c
+++ b/src/lib/edje/edje_lua.c
@@ -1237,7 +1237,7 @@ const Edje_Lua_Reg mObject = {
1237}; 1237};
1238 1238
1239static void 1239static void
1240_edje_lua_object_del_cb(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, EINA_UNUSED void *event_info) 1240_edje_lua_object_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
1241{ 1241{
1242 //printf("_edje_lua_object_delete_cb\n"); 1242 //printf("_edje_lua_object_delete_cb\n");
1243 lua_State *L = data; 1243 lua_State *L = data;
@@ -1939,7 +1939,7 @@ _edje_lua_object_set_precise_is_inside(lua_State *L)
1939 lua_insert(L, -2); 1939 lua_insert(L, -2);
1940 1940
1941static void 1941static void
1942_edje_lua_object_cb_mouse_in(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, 1942_edje_lua_object_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
1943 void *event_info) 1943 void *event_info)
1944{ 1944{
1945 OBJECT_CB_MACRO("mouse_in"); 1945 OBJECT_CB_MACRO("mouse_in");
@@ -1956,7 +1956,7 @@ _edje_lua_object_cb_mouse_in(void *data, EINA_UNUSED Evas *e, Evas_Object *obj,
1956} 1956}
1957 1957
1958static void 1958static void
1959_edje_lua_object_cb_mouse_out(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, 1959_edje_lua_object_cb_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
1960 void *event_info) 1960 void *event_info)
1961{ 1961{
1962 OBJECT_CB_MACRO("mouse_out"); 1962 OBJECT_CB_MACRO("mouse_out");
@@ -1973,7 +1973,7 @@ _edje_lua_object_cb_mouse_out(void *data, EINA_UNUSED Evas *e, Evas_Object *obj,
1973} 1973}
1974 1974
1975static void 1975static void
1976_edje_lua_object_cb_mouse_down(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, 1976_edje_lua_object_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
1977 void *event_info) 1977 void *event_info)
1978{ 1978{
1979 OBJECT_CB_MACRO("mouse_down"); 1979 OBJECT_CB_MACRO("mouse_down");
@@ -1991,7 +1991,7 @@ _edje_lua_object_cb_mouse_down(void *data, EINA_UNUSED Evas *e, Evas_Object *obj
1991} 1991}
1992 1992
1993static void 1993static void
1994_edje_lua_object_cb_mouse_up(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, 1994_edje_lua_object_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
1995 void *event_info) 1995 void *event_info)
1996{ 1996{
1997 OBJECT_CB_MACRO("mouse_up"); 1997 OBJECT_CB_MACRO("mouse_up");
@@ -2009,7 +2009,7 @@ _edje_lua_object_cb_mouse_up(void *data, EINA_UNUSED Evas *e, Evas_Object *obj,
2009} 2009}
2010 2010
2011static void 2011static void
2012_edje_lua_object_cb_mouse_move(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, 2012_edje_lua_object_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
2013 void *event_info) 2013 void *event_info)
2014{ 2014{
2015 OBJECT_CB_MACRO("mouse_move"); 2015 OBJECT_CB_MACRO("mouse_move");
@@ -2027,7 +2027,7 @@ _edje_lua_object_cb_mouse_move(void *data, EINA_UNUSED Evas *e, Evas_Object *obj
2027} 2027}
2028 2028
2029static void 2029static void
2030_edje_lua_object_cb_mouse_wheel(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, 2030_edje_lua_object_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
2031 void *event_info) 2031 void *event_info)
2032{ 2032{
2033 OBJECT_CB_MACRO("mouse_wheel"); 2033 OBJECT_CB_MACRO("mouse_wheel");
@@ -3476,7 +3476,7 @@ const Edje_Lua_Reg mPart = {
3476}; 3476};
3477 3477
3478static void 3478static void
3479_edje_lua_edje_part_del_cb(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, 3479_edje_lua_edje_part_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
3480 EINA_UNUSED void *event_info) 3480 EINA_UNUSED void *event_info)
3481{ 3481{
3482 //printf("_edje_lua_object_delete_cb\n"); 3482 //printf("_edje_lua_object_delete_cb\n");
diff --git a/src/lib/edje/edje_match.c b/src/lib/edje/edje_match.c
index 7f4065ae96..473ba89a83 100644
--- a/src/lib/edje/edje_match.c
+++ b/src/lib/edje/edje_match.c
@@ -877,7 +877,7 @@ edje_match_signal_source_hash_get(const char *sig,
877} 877}
878 878
879void 879void
880edje_match_signal_source_free(Edje_Signal_Source_Char *key, EINA_UNUSED void *data) 880edje_match_signal_source_free(Edje_Signal_Source_Char *key, void *data EINA_UNUSED)
881{ 881{
882 eina_inarray_flush(&key->list); 882 eina_inarray_flush(&key->list);
883 free(key); 883 free(key);
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 0e6bc3e9ba..67b458495d 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -3334,7 +3334,7 @@ _edje_box_layout_builtin_find(const char *name)
3334} 3334}
3335 3335
3336static Eina_Rbtree_Direction 3336static Eina_Rbtree_Direction
3337_edje_box_layout_part_external_node_cmp(const Eina_Rbtree *left, const Eina_Rbtree *right, EINA_UNUSED void *data) 3337_edje_box_layout_part_external_node_cmp(const Eina_Rbtree *left, const Eina_Rbtree *right, void *data EINA_UNUSED)
3338{ 3338{
3339 Edje_Box_Layout *l = (Edje_Box_Layout *)left; 3339 Edje_Box_Layout *l = (Edje_Box_Layout *)left;
3340 Edje_Box_Layout *r = (Edje_Box_Layout *)right; 3340 Edje_Box_Layout *r = (Edje_Box_Layout *)right;
@@ -3346,7 +3346,7 @@ _edje_box_layout_part_external_node_cmp(const Eina_Rbtree *left, const Eina_Rbtr
3346} 3346}
3347 3347
3348static int 3348static int
3349_edje_box_layout_part_external_find_cmp(const Eina_Rbtree *node, const void *key, EINA_UNUSED int length, EINA_UNUSED void *data) 3349_edje_box_layout_part_external_find_cmp(const Eina_Rbtree *node, const void *key, int length EINA_UNUSED, void *data EINA_UNUSED)
3350{ 3350{
3351 Edje_Box_Layout *l = (Edje_Box_Layout *)node; 3351 Edje_Box_Layout *l = (Edje_Box_Layout *)node;
3352 return strcmp(key, l->name); 3352 return strcmp(key, l->name);
@@ -3427,7 +3427,7 @@ _edje_box_layout_find(const char *name, Evas_Object_Box_Layout *cb, void **data,
3427} 3427}
3428 3428
3429static void 3429static void
3430_edje_box_layout_part_external_free(Eina_Rbtree *node, EINA_UNUSED void *data) 3430_edje_box_layout_part_external_free(Eina_Rbtree *node, void *data EINA_UNUSED)
3431{ 3431{
3432 Edje_Box_Layout *l = (Edje_Box_Layout *)node; 3432 Edje_Box_Layout *l = (Edje_Box_Layout *)node;
3433 3433
@@ -5235,7 +5235,7 @@ _edje_part_table_clear(Edje *ed, const char *part, Eina_Bool clear)
5235} 5235}
5236 5236
5237static void 5237static void
5238_edje_perspective_obj_del(void *data, EINA_UNUSED Evas *e, EINA_UNUSED Evas_Object *obj, EINA_UNUSED void *event_info) 5238_edje_perspective_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
5239{ 5239{
5240 Edje_Perspective *ps = data; 5240 Edje_Perspective *ps = data;
5241 Evas_Object *o; 5241 Evas_Object *o;
@@ -6231,7 +6231,7 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp)
6231} 6231}
6232 6232
6233void 6233void
6234_edje_object_part_swallow_changed_hints_cb(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, EINA_UNUSED void *event_info) 6234_edje_object_part_swallow_changed_hints_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
6235{ 6235{
6236 Edje_Real_Part *rp; 6236 Edje_Real_Part *rp;
6237 Edje *ed; 6237 Edje *ed;
@@ -6397,7 +6397,7 @@ _edje_object_preload_helper(Edje *ed)
6397} 6397}
6398 6398
6399static void 6399static void
6400_edje_object_image_preload_cb(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, EINA_UNUSED void *event_info) 6400_edje_object_image_preload_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
6401{ 6401{
6402 Edje *ed = data; 6402 Edje *ed = data;
6403 6403
@@ -6406,7 +6406,7 @@ _edje_object_image_preload_cb(void *data, EINA_UNUSED Evas *e, Evas_Object *obj,
6406} 6406}
6407 6407
6408static void 6408static void
6409_edje_object_signal_preload_cb(void *data, Evas_Object *obj, EINA_UNUSED const char *emission, EINA_UNUSED const char *source) 6409_edje_object_signal_preload_cb(void *data, Evas_Object *obj, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
6410{ 6410{
6411 Edje *ed = data; 6411 Edje *ed = data;
6412 6412
@@ -6533,7 +6533,7 @@ edje_string_id_get(const Edje_String *es)
6533} 6533}
6534 6534
6535static void 6535static void
6536_cb_subobj_del(void *data, EINA_UNUSED Evas *e, Evas_Object *obj, EINA_UNUSED void *event_info) 6536_cb_subobj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
6537{ 6537{
6538 Edje *ed = data; 6538 Edje *ed = data;
6539 _edje_subobj_unregister(ed, obj); 6539 _edje_subobj_unregister(ed, obj);