Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
the xbt_thread_create function must use a function pointer as first parameter
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 07:52:40 +0000 (07:52 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 07:52:40 +0000 (07:52 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4770 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_sg_synchro.c

index d78d28e..cf4c3b3 100644 (file)
@@ -35,7 +35,7 @@ static int xbt_thread_create_wrapper(int argc, char *argv[]) {
    return 0;
 }
 
-xbt_thread_t xbt_thread_create(const char*name,void_f_pvoid_t* code, void* param)  {
+xbt_thread_t xbt_thread_create(const char*name,void_fp_pvoid_t code, void* param)  {
    xbt_thread_t res = xbt_new0(s_xbt_thread_t,1);
    res->name = xbt_strdup(name);
    res->userparam = param;