Revert "[4.0] Change the return type of the init function" 13/148913/1
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 11 Sep 2017 06:47:00 +0000 (15:47 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 11 Sep 2017 06:47:06 +0000 (15:47 +0900)
This reverts commit 37ac2ca0b806c313ded76f338d6f36bdcf78ee5e.

Change-Id: I27ff80e6e6fd6bc613c0f480f56e1b62306f4575

adaptors/tizen/framework-tizen.cpp

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