Revert "[4.0] Change the return type of the init function" 30/153330/1
authorJinho, Lee <jeano.lee@samsung.com>
Thu, 28 Sep 2017 04:35:51 +0000 (13:35 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Thu, 28 Sep 2017 04:35:55 +0000 (13:35 +0900)
This reverts commit 4590f62eadea6c86c3d27394283551ef09d2602a.

Change-Id: Ic6ce08181a81531200743c3d7fabe30cebd639ee

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)