summaryrefslogtreecommitdiff
path: root/src/schedule
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-08-29 20:07:21 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-08-29 20:07:21 +0000
commit548bc0139bf94909a4789d621e4c518d3a1825b3 (patch)
treea7dcbfb9dd191ad79af75d2f414e5ad8f9e61bb6 /src/schedule
parentd5794e4d7582091dc76f62e3db7a1adcfc517400 (diff)
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
Diffstat (limited to 'src/schedule')
-rw-r--r--src/schedule/ScheduleTraverse.c20
1 files changed, 10 insertions, 10 deletions
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