From: Junghoon Park Date: Wed, 6 Sep 2017 04:44:21 +0000 (+0900) Subject: Change the return type X-Git-Tag: accepted/tizen/4.0/unified/20170913.003436~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=a7583a5416832e72f1cd90bed503a3a9d9fd9cf5;p=platform%2Fcore%2Fappfw%2Fapp-core.git Change the return type - The return type for init callback is changed from 'int' to 'void' Change-Id: I0d73986e322caa9c1f6a0e9cc2ef1dad31b52231 Signed-off-by: Junghoon Park --- diff --git a/include/appcore_base.h b/include/appcore_base.h index a3a53ea..106b9c0 100644 --- a/include/appcore_base.h +++ b/include/appcore_base.h @@ -60,7 +60,7 @@ typedef struct _appcore_base_ops { int (*control) (bundle *b, void *data); int (*receive)(aul_type type, bundle *b, void *data); int (*set_i18n)(void *data); - int (*init)(int argc, char **argv, void *data); + void (*init)(int argc, char **argv, void *data); void (*finish)(void); void (*run)(void *data); void (*exit)(void *data); diff --git a/src/efl_base/appcore_efl_base.c b/src/efl_base/appcore_efl_base.c index 9f53902..a133d1c 100644 --- a/src/efl_base/appcore_efl_base.c +++ b/src/efl_base/appcore_efl_base.c @@ -51,7 +51,7 @@ static void __vc_vtauto_changed_cb(keynode_t *key, void *data) } } -static int __efl_app_init(int argc, char **argv, void *data) +static void __efl_app_init(int argc, char **argv, void *data) { int hint; const char *hwacc; @@ -86,8 +86,6 @@ static int __efl_app_init(int argc, char **argv, void *data) } vc_elm_set_auto_register_mode(2, 0); } - - return 0; } static void __efl_app_finish(void)