#include "xbt/log.h"
#include "xbt/dynar.h"
#include "xbt/xbt_os_thread.h"
+#include "xbt/ex_interface.h"
#ifdef CONTEXT_THREADS
/* This file (context.c) is only loaded in libsimgrid, not libgras.
* \param argc first argument of function \a code
* \param argv seconde argument of function \a code
*/
-xbt_context_t xbt_context_new(xbt_context_function_t code,
+xbt_context_t xbt_context_new(xbt_main_func_t code,
void_f_pvoid_t startup_func, void *startup_arg,
void_f_pvoid_t cleanup_func, void *cleanup_arg,
int argc, char *argv[])