summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_menu.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/lib/efreet/efreet_menu.c
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/lib/efreet/efreet_menu.c')
-rw-r--r--src/lib/efreet/efreet_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index 06c2c418fb..e45cb678b4 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -531,7 +531,7 @@ efreet_menu_file_set(const char *file)
531EFREET_DEPRECATED_API EAPI void 531EFREET_DEPRECATED_API EAPI void
532efreet_menu_async_get(Efreet_Menu_Cb func EINA_UNUSED, const void *data EINA_UNUSED) 532efreet_menu_async_get(Efreet_Menu_Cb func EINA_UNUSED, const void *data EINA_UNUSED)
533{ 533{
534 ERR("%s is deprecated and shouldn't be called", __FUNCTION__); 534 ERR("%s is deprecated and shouldn't be called", __func__);
535 535
536 return; 536 return;
537} 537}
@@ -575,7 +575,7 @@ efreet_menu_get(void)
575EFREET_DEPRECATED_API EAPI void 575EFREET_DEPRECATED_API EAPI void
576efreet_menu_async_parse(const char *path EINA_UNUSED, Efreet_Menu_Cb func EINA_UNUSED, const void *data EINA_UNUSED) 576efreet_menu_async_parse(const char *path EINA_UNUSED, Efreet_Menu_Cb func EINA_UNUSED, const void *data EINA_UNUSED)
577{ 577{
578 ERR("%s is deprecated and shouldn't be called", __FUNCTION__); 578 ERR("%s is deprecated and shouldn't be called", __func__);
579 579
580 return; 580 return;
581} 581}