[4.0] Change the return type of the init function 41/148941/3
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 11 Sep 2017 07:23:56 +0000 (16:23 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 11 Sep 2017 09:01:39 +0000 (18:01 +0900)
Change-Id: I6a2c8ca7dd33d487ae8456f9e8be497e023965aa

adaptors/tizen/framework-tizen.cpp

index e9c3ac1..044df8e 100644 (file)
@@ -348,7 +348,7 @@ struct Framework::Impl
     return 0;
   }
 
-  static int AppInit(int argc, char **argv, void *data)
+  static void AppInit(int argc, char **argv, void *data)
   {
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wold-style-cast"
@@ -357,7 +357,6 @@ struct Framework::Impl
     ecore_app_args_set( argc, (const char **)argv );
 
 #pragma GCC diagnostic pop
-    return 0;
   }
 
   static void AppFinish(void)