devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=214dbdbd590a8f3fd9a0f3d5ef975d6ff9ce0e43
commit 214dbdbd590a8f3fd9a0f3d5ef975d6ff9ce0e43 Author: Chris Michael <cp.mich...@samsung.com> Date: Thu Jan 4 09:26:28 2018 -0500 efl-loop: Don't use 'main' as a variable name Gcc issues a warning here that 'main' is usually a function, so just rename the variable to avoid the warning. NB: No funtional changes Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/ecore/efl_loop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore/efl_loop.c b/src/lib/ecore/efl_loop.c index 177d26d14a..6ab26bd0fb 100644 --- a/src/lib/ecore/efl_loop.c +++ b/src/lib/ecore/efl_loop.c @@ -751,10 +751,10 @@ efl_loop_promise_new(const Eo *obj, Eina_Promise_Cancel_Cb cancel_cb, const void EAPI Eina_Promise * efl_loop_main_promise_new(Eina_Promise_Cancel_Cb cancel_cb, const void *data) { - Efl_Loop *main; + Efl_Loop *main_loop; - main = efl_loop_main_get(EFL_LOOP_CLASS); - return eina_promise_new(efl_loop_future_scheduler_get(main), + main_loop = efl_loop_main_get(EFL_LOOP_CLASS); + return eina_promise_new(efl_loop_future_scheduler_get(main_loop), cancel_cb, data); } --