Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Log priorities were renamed a long time ago.
[simgrid.git] / src / xbt / xbt_rl_synchro.c
index 3ae9acbcdd9731b08b641df54a56dd77ce5acd03..c33b03e55467aeb3bc383fa0323934bcc25463de 100644 (file)
@@ -14,7 +14,6 @@
 #include "xbt/ex.h"
 #include "portable.h"
 
-#include "xbt/synchro.h"        /* This module */
 #include "xbt/xbt_os_thread.h"  /* The implementation we use */
 
 /* the implementation would be cleaner (and faster) with ELF symbol aliasing */
@@ -31,7 +30,7 @@ static void *xbt_thread_create_wrapper(void *p)
 {
   xbt_thread_t t = (xbt_thread_t) p;
   XBT_DEBUG("I'm thread %p", p);
-  (*t->code) (t->userparam);
+  t->code(t->userparam);
   return NULL;
 }