aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2006-10-05 16:55:10 +0000
committerschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2006-10-05 16:55:10 +0000
commit64e64f2970eae8f0f92b02350ad0bd8b6ccbd1ba (patch)
treefc73bd2bc90c42cbac89f5cdacb248f0e1d000ee
parenta2bfb94e17502658cf55870670b8f8365871dfe4 (diff)
Correct prototypes of scheduled functions
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@289 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r--src/Boundary.c4
-rw-r--r--src/Check.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/src/Boundary.c b/src/Boundary.c
index dadf40a..c9dc963 100644
--- a/src/Boundary.c
+++ b/src/Boundary.c
@@ -118,7 +118,7 @@ CCTK_INT Bdry_Boundary_SelectedGVs(CCTK_POINTER_TO_CONST _GH,
********************************************************************/
void Boundary_ApplyPhysicalBCs(CCTK_ARGUMENTS);
-void Boundary_ClearSelection(void);
+void Boundary_ClearSelection(CCTK_ARGUMENTS);
/********************************************************************
********************* Local Data *****************************
@@ -1121,7 +1121,7 @@ void Boundary_ApplyPhysicalBCs(CCTK_ARGUMENTS)
@endhistory
@@*/
-void Boundary_ClearSelection(void)
+void Boundary_ClearSelection(CCTK_ARGUMENTS)
{
struct BCVAR *current, *next;
struct BCDATA *current_bcdata;
diff --git a/src/Check.c b/src/Check.c
index fed0fdd..1fe4e57 100644
--- a/src/Check.c
+++ b/src/Check.c
@@ -29,7 +29,7 @@ CCTK_FILEVERSION(CactusBase_Boundary_Check_c);
******************** Prototypes *******************************
********************************************************************/
-int Boundary_Check(CCTK_ARGUMENTS);
+void Boundary_Check(CCTK_ARGUMENTS);
/********************************************************************
******************** Scheduled Routines ***********************
@@ -61,19 +61,15 @@ int Boundary_Check(CCTK_ARGUMENTS);
@endreturndesc
@@*/
-int Boundary_Check(CCTK_ARGUMENTS)
+void Boundary_Check(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
- int retval;
- retval = 0;
if (CCTK_MaxDim() > 15)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
"Executable contains variable group with more than 15 "
"dimensions. Thorn Boundary will not function properly for "
"these variable groups.");
- retval = -1;
}
- return retval;
}