Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
xbt_new raises an exception on error, no need to check for ENOMEM
[simgrid.git] / src / xbt / xbt_virtu.c
index 0e05bd3..bed1aca 100644 (file)
@@ -15,5 +15,5 @@ static int xbt_fake_pid(void) {
    return 0;
 }
 
-int_f_void_t *xbt_getpid=&xbt_fake_pid;
+int_f_void_t xbt_getpid=xbt_fake_pid;