summaryrefslogtreecommitdiff
path: root/src/examples/eio/efl_io_manager_ls.c
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/examples/eio/efl_io_manager_ls.c
parentde939ca64b3d17ee786f3fc621314fce1746334e (diff)
downloadefl-d135957ffa0ae429f4ca22662de8633771984485.tar.gz
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/examples/eio/efl_io_manager_ls.c')
-rw-r--r--src/examples/eio/efl_io_manager_ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/eio/efl_io_manager_ls.c b/src/examples/eio/efl_io_manager_ls.c
index 636883d91c..e77877b0b1 100644
--- a/src/examples/eio/efl_io_manager_ls.c
+++ b/src/examples/eio/efl_io_manager_ls.c
@@ -29,7 +29,7 @@ done_cb(void *data EINA_UNUSED,
eina_value_get(&file, &value);
- printf("%s done listing files %"PRIu64".\n", __FUNCTION__, value);
+ printf("%s done listing files %"PRIu64".\n", __func__, value);
}
ecore_main_loop_quit();
@@ -46,7 +46,7 @@ progress_cb(void *data EINA_UNUSED, Eina_Array *array)
unsigned int count;
EINA_ARRAY_ITER_NEXT(array, count, filename, it)
- printf("%s listing filename: %s\n", __FUNCTION__, filename);
+ printf("%s listing filename: %s\n", __func__, filename);
}
void list_files(void *data)