aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-05 14:14:02 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-07 12:46:05 -0500
commitebeeb0d4806c57dd88d463c649455c999052c00b (patch)
tree545bd657f61748c5ffe67a2edc08dabc7b4a1a1d
parentremove gadget runner function stubs for pre 1.21 compat (diff)
downloadenlightenment-ebeeb0d4806c57dd88d463c649455c999052c00b.tar.gz
use elm_main for main() function
-rw-r--r--src/bin/e_main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index b66936d45..f055f24b6 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -212,9 +212,8 @@ _e_main_shelf_init_job(void *data EINA_UNUSED)
return ECORE_CALLBACK_CANCEL;
}
-/* externally accessible functions */
-int
-main(int argc, char **argv)
+EAPI_MAIN int
+elm_main(int argc, char **argv)
{
Eina_Bool nostartup = EINA_FALSE;
Eina_Bool safe_mode = EINA_FALSE;
@@ -1819,3 +1818,5 @@ _e_main_cb_startup_fake_end(void *data EINA_UNUSED)
e_init_done();
return ECORE_CALLBACK_CANCEL;
}
+
+ELM_MAIN()