Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
renaming value of presence state to "presence" (to get a good time-slice value later on)
[simgrid.git] / src / simix / smx_context_thread.c
index 53f343d..ff034ef 100644 (file)
@@ -14,6 +14,7 @@
 #include "xbt/swag.h"
 #include "xbt/xbt_os_thread.h"
 #include "xbt_modinter.h"       /* prototype of os thread module's init/exit in XBT */
+#include "simix/smx_context_private.h"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
 
@@ -77,7 +78,6 @@ smx_ctx_thread_factory_create_context(xbt_main_func_t code, int argc, char** arg
 
 static void smx_ctx_thread_free(smx_context_t pcontext)
 {
-  int i;
   smx_ctx_thread_t context = (smx_ctx_thread_t)pcontext;
 
   /* check if this is the context of maestro (it doesn't has a real thread) */