aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Requirements.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-07-11 16:45:34 -0500
committerErik Schnetter <schnetter@cct.lsu.edu>2008-07-11 16:45:34 -0500
commitd8ec830c64d6d0e39a42e05eb9ff97748a2b0c2d (patch)
tree06985462c92d0186746ee68ab274ebc8e9c262a8 /Carpet/Carpet/src/Requirements.cc
parentfa138ecc424fb48f8039bff8813091282daeab81 (diff)
Carpet: Correct function prototypes which handle schedule IF statements
Diffstat (limited to 'Carpet/Carpet/src/Requirements.cc')
-rw-r--r--Carpet/Carpet/src/Requirements.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/Requirements.cc b/Carpet/Carpet/src/Requirements.cc
index 6a4a83ebc..c1d54f87b 100644
--- a/Carpet/Carpet/src/Requirements.cc
+++ b/Carpet/Carpet/src/Requirements.cc
@@ -73,7 +73,7 @@ namespace Carpet {
int CheckEntry (void * attribute, void * data);
int CheckExit (void * attribute, void * data);
int CheckWhile (int n_whiles, char ** whiles, void * attribute, void * data, int first);
- int CheckIf (int n_ifs, char ** ifs, void * attribute, void * data);
+ int CheckIf (int n_ifs, char ** ifs, void * attribute, void * data, int first);
int CheckCall (void * function, void * attribute, void * data);
void CheckOneGroup (cGH const * cctkGH, char const * where);
@@ -214,7 +214,8 @@ namespace Carpet {
int
CheckIf (int const n_ifs, char ** const ifs,
void * const attribute,
- void * const data)
+ void * const data,
+ int const first)
{
// Execute item
return 1;