diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2008-05-26 09:12:43 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2008-05-26 09:12:43 +0000 |
commit | abb1c963a93bdf60dd82ce88953969e868bd02e8 (patch) | |
tree | 66d2c729ae504d1bde49da160bcd46ab8689ef22 /src/schedule | |
parent | d4b2212765a66a2c81d2f428c4f911c0fa65cf85 (diff) |
Correct inconsistency in prototype for argument check_if in function
CCTKi_DoScheduleTraverse.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4490 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/schedule')
-rw-r--r-- | src/schedule/ScheduleTraverse.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/schedule/ScheduleTraverse.c b/src/schedule/ScheduleTraverse.c index 1baa0ad3..37456b26 100644 --- a/src/schedule/ScheduleTraverse.c +++ b/src/schedule/ScheduleTraverse.c @@ -39,7 +39,7 @@ static int ScheduleTraverseGroup(cHandledData *schedule_groups, int (*item_entry)(void *, void *), int (*item_exit)(void *, void *), int (*while_check)(int, char **, void *, void *, int), - int (*if_check)(int, char **, void *, void *), + int (*if_check)(int, char **, void *, void *, int), int (*function_process)(void *, void *, void *), void *data); @@ -52,7 +52,7 @@ static int ScheduleTraverseFunction(void *function, int (*item_entry)(void *, void *), int (*item_exit)(void *, void *), int (*while_check)(int, char **, void *, void *, int), - int (*if_check)(int, char **, void *, void *), + int (*if_check)(int, char **, void *, void *, int), int (*function_process)(void *, void *, void *), void *data); @@ -140,7 +140,7 @@ int CCTKi_DoScheduleTraverse(const char *group_name, int (*item_entry)(void *, void *), int (*item_exit)(void *, void *), int (*while_check)(int, char **, void *, void *, int), - int (*if_check)(int, char **, void *, void *), + int (*if_check)(int, char **, void *, void *, int), int (*function_process)(void *, void *, void *), void *data) { @@ -300,7 +300,7 @@ static int ScheduleTraverseGroup(cHandledData *schedule_groups, int (*item_entry)(void *, void *), int (*item_exit)(void *, void *), int (*while_check)(int, char **, void *, void *, int), - int (*if_check)(int, char **, void *, void *), + int (*if_check)(int, char **, void *, void *, int), int (*function_process)(void *, void *, void *), void *data) { @@ -317,7 +317,7 @@ static int ScheduleTraverseGroup(cHandledData *schedule_groups, if(n_ifs > 0 && if_check) { - doit = doit && if_check(n_ifs, ifs, attributes, data); + doit = doit && if_check(n_ifs, ifs, attributes, data, 1); } /* If there is a while-list associated with this item, check if the @@ -337,7 +337,7 @@ static int ScheduleTraverseGroup(cHandledData *schedule_groups, if(n_whiles > 0 && while_check) { - doit = doit && while_check(n_whiles, whiles, attributes, data,1); + doit = doit && while_check(n_whiles, whiles, attributes, data, 1); } /* Call a item entry function if it is defined. */ @@ -403,7 +403,7 @@ static int ScheduleTraverseGroup(cHandledData *schedule_groups, /* Check the while_list again. */ if(n_whiles > 0 && while_check) { - doit = while_check(n_whiles, whiles, attributes, data,0); + doit = while_check(n_whiles, whiles, attributes, data, 0); } else { @@ -534,7 +534,7 @@ static int ScheduleTraverseFunction(void *function, int (*item_entry)(void *, void *), int (*item_exit)(void *, void *), int (*while_check)(int, char **, void *, void *, int), - int (*if_check)(int, char **, void *, void *), + int (*if_check)(int, char **, void *, void *, int), int (*function_process)(void *, void *, void *), void *data) { @@ -549,7 +549,7 @@ static int ScheduleTraverseFunction(void *function, if(n_ifs > 0 && if_check) { - doit = doit && if_check(n_ifs, ifs, attributes, data); + doit = doit && if_check(n_ifs, ifs, attributes, data, 1); } /* If there is a while-list associated with this function, check if @@ -558,7 +558,7 @@ static int ScheduleTraverseFunction(void *function, if(n_whiles > 0 && while_check) { - doit = doit && while_check(n_whiles, whiles, attributes, data,1); + doit = doit && while_check(n_whiles, whiles, attributes, data, 1); } /* Call a item entry function if it is defined. */ @@ -586,7 +586,7 @@ static int ScheduleTraverseFunction(void *function, /* Check the while_list again. */ if(n_whiles > 0 && while_check) { - doit = while_check(n_whiles, whiles, attributes, data,0) ; + doit = while_check(n_whiles, whiles, attributes, data, 0); } else { |