Make Eina amalgamation build again
authormekius <mekius>
Fri, 19 Oct 2012 15:57:55 +0000 (15:57 +0000)
committermekius <mekius@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 19 Oct 2012 15:57:55 +0000 (15:57 +0000)
  The eina_thread_init and eina_thread_shutdown functions
  have to return Eina_Bool to match other init/shutdown
  functions in Eina.  The fact that this didn't break the
  normal build is interesting...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@78258 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_thread.c

index e0d438f..ca36b28 100644 (file)
@@ -300,12 +300,14 @@ eina_thread_join(Eina_Thread t)
    return PHJ(t);
 }
 
-void
+Eina_Bool
 eina_thread_init(void)
 {
+  return EINA_TRUE;
 }
 
-void
+Eina_Bool
 eina_thread_shutdown(void)
 {
+  return EINA_TRUE;
 }