From 548bc0139bf94909a4789d621e4c518d3a1825b3 Mon Sep 17 00:00:00 2001 From: schnetter Date: Fri, 29 Aug 2008 20:07:21 +0000 Subject: Remove superfluous argument "first" from if_check prototype; "first" only makes sense for while_check. Update all callers and callees. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4502 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/schedule/ScheduleTraverse.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/schedule') diff --git a/src/schedule/ScheduleTraverse.c b/src/schedule/ScheduleTraverse.c index 37456b26..913866ac 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), + int (*if_check)(int, char **, void *, void *), 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), + int (*if_check)(int, char **, void *, void *), int (*function_process)(void *, void *, void *), void *data); @@ -110,7 +110,7 @@ static int ScheduleTraverseFunction(void *function, @endvar @var if_check @vdesc function to be called to check an if statement - @vtype int (*)(int, char **, void *, void *, int) + @vtype int (*)(int, char **, void *, void *) @vio in @vcomment @@ -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), + int (*if_check)(int, char **, void *, void *), int (*function_process)(void *, void *, void *), void *data) { @@ -265,7 +265,7 @@ int CCTKi_DoScheduleTraverse(const char *group_name, @endvar @var if_check @vdesc function to be called to check a if statement - @vtype int (*)(int, char **, void *, void *, int) + @vtype int (*)(int, char **, void *, void *) @vio in @vcomment @@ -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), + int (*if_check)(int, char **, void *, void *), 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, 1); + doit = doit && if_check(n_ifs, ifs, attributes, data); } /* If there is a while-list associated with this item, check if the @@ -500,7 +500,7 @@ static int ScheduleTraverseGroup(cHandledData *schedule_groups, @endvar @var if_check @vdesc function to be called to check a if statement - @vtype int (*)(int, char **, void *, void *, int) + @vtype int (*)(int, char **, void *, void *) @vio in @vcomment @@ -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), + int (*if_check)(int, char **, void *, void *), 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, 1); + doit = doit && if_check(n_ifs, ifs, attributes, data); } /* If there is a while-list associated with this function, check if -- cgit v1.2.3