use elm_main for main() function

This commit is contained in:
Mike Blumenkrantz 2018-02-05 14:14:02 -05:00
parent 5bbc335ed9
commit ebeeb0d480
1 changed files with 4 additions and 3 deletions

View File

@ -212,9 +212,8 @@ _e_main_shelf_init_job(void *data EINA_UNUSED)
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
} }
/* externally accessible functions */ EAPI_MAIN int
int elm_main(int argc, char **argv)
main(int argc, char **argv)
{ {
Eina_Bool nostartup = EINA_FALSE; Eina_Bool nostartup = EINA_FALSE;
Eina_Bool safe_mode = 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(); e_init_done();
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
} }
ELM_MAIN()