Revert "[Tizen] Change the return type of the init function" 41/159941/1
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 14 Nov 2017 00:55:19 +0000 (09:55 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 14 Nov 2017 00:55:24 +0000 (09:55 +0900)
This reverts commit 67207ef6e226e894c1dea7ecafa2a8c77c3ed12c.

Change-Id: I7b770beb9e4ece3dc28bed680a5f1556bdd46b51

adaptors/tizen/framework-tizen.cpp

index 4fcba81..f437a92 100644 (file)
@@ -316,7 +316,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"
@@ -325,6 +325,7 @@ struct Framework::Impl
     ecore_app_args_set( argc, (const char **)argv );
 
 #pragma GCC diagnostic pop
+    return 0;
   }
 
   static void AppFinish(void)