A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup windows portability in there
[simgrid.git]
/
src
/
xbt
/
xbt_sg_synchro.c
diff --git
a/src/xbt/xbt_sg_synchro.c
b/src/xbt/xbt_sg_synchro.c
index
d78d28e
..
09e8961
100644
(file)
--- a/
src/xbt/xbt_sg_synchro.c
+++ b/
src/xbt/xbt_sg_synchro.c
@@
-23,7
+23,7
@@
typedef struct s_xbt_thread_ {
char *name;
smx_process_t s_process;
typedef struct s_xbt_thread_ {
char *name;
smx_process_t s_process;
- void_f_pvoid_t
*
code;
+ void_f_pvoid_t code;
void *userparam;
void *father_data;
} s_xbt_thread_t;
void *userparam;
void *father_data;
} s_xbt_thread_t;
@@
-35,7
+35,7
@@
static int xbt_thread_create_wrapper(int argc, char *argv[]) {
return 0;
}
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_f_pvoid_t code, void* param) {
xbt_thread_t res = xbt_new0(s_xbt_thread_t,1);
res->name = xbt_strdup(name);
res->userparam = param;
xbt_thread_t res = xbt_new0(s_xbt_thread_t,1);
res->name = xbt_strdup(name);
res->userparam = param;