summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-05-07 09:27:07 -0400
committerChristopher Michael <devilhorns@comcast.net>2020-05-07 09:27:07 -0400
commitd135957ffa0ae429f4ca22662de8633771984485 (patch)
tree8dcacdd71c83d4c5a7ffb239e428dd81e5d725df /src/bin
parentde939ca64b3d17ee786f3fc621314fce1746334e (diff)
Use __func__ C99 identifier instead of __FUNCTION__ compiler extension
Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11785
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_dnd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elementary/test_dnd.c b/src/bin/elementary/test_dnd.c
index be0738e122..604f73f33f 100644
--- a/src/bin/elementary/test_dnd.c
+++ b/src/bin/elementary/test_dnd.c
@@ -635,7 +635,7 @@ _gl_dnd_default_anim_data_getcb(Evas_Object *obj, /* The genlist object */
635 /* Now, collect data to send for drop from ALL selected items */ 635 /* Now, collect data to send for drop from ALL selected items */
636 /* Save list pointer to remove items after drop and free list on done */ 636 /* Save list pointer to remove items after drop and free list on done */
637 info->data = _gl_get_drag_data(obj, it, (Eina_List **) &info->donecbdata); 637 info->data = _gl_get_drag_data(obj, it, (Eina_List **) &info->donecbdata);
638 printf("%s - data = %s\n", __FUNCTION__, info->data); 638 printf("%s - data = %s\n", __func__, info->data);
639 info->acceptdata = info->donecbdata; 639 info->acceptdata = info->donecbdata;
640 640
641 if (info->data) 641 if (info->data)
@@ -740,7 +740,7 @@ _grid_data_getcb(Evas_Object *obj, /* The genlist object */
740 /* Now, collect data to send for drop from ALL selected items */ 740 /* Now, collect data to send for drop from ALL selected items */
741 /* Save list pointer to remove items after drop and free list on done */ 741 /* Save list pointer to remove items after drop and free list on done */
742 info->data = _grid_get_drag_data(obj, it, (Eina_List **) &info->donecbdata); 742 info->data = _grid_get_drag_data(obj, it, (Eina_List **) &info->donecbdata);
743 printf("%s %d- data = %s\n", __FUNCTION__, __LINE__, info->data); 743 printf("%s %d- data = %s\n", __func__, __LINE__, info->data);
744 info->acceptdata = info->donecbdata; 744 info->acceptdata = info->donecbdata;
745 745
746 if (info->data) 746 if (info->data)
@@ -1005,7 +1005,7 @@ static Eina_Bool _drop_box_button_new_cb(void *data, Evas_Object *obj, Elm_Selec
1005 1005
1006void _enter_but_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED) 1006void _enter_but_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
1007{ 1007{
1008 printf("Entered %s - drop it here and I will never print this line anymore.\n", __FUNCTION__); 1008 printf("Entered %s - drop it here and I will never print this line anymore.\n", __func__);
1009} 1009}
1010 1010
1011static Eina_Bool _drop_but_icon_change_cb(void *data, Evas_Object *obj, Elm_Selection_Data *ev) 1011static Eina_Bool _drop_but_icon_change_cb(void *data, Evas_Object *obj, Elm_Selection_Data *ev)