aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@4825ed28-b72c-4eae-9704-e50c059e567d>2011-01-21 03:15:08 +0000
committereschnett <eschnett@4825ed28-b72c-4eae-9704-e50c059e567d>2011-01-21 03:15:08 +0000
commit4da340e6d3cbcd213e76f23eba4ae00822ec1479 (patch)
tree42e68f0d6517c4447918f01698ad94ae492f9909
parente788f9bd59bacd141e7ae84982367bfc4499c185 (diff)
Correct signatures of scheduled functions
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@254 4825ed28-b72c-4eae-9704-e50c059e567d
-rw-r--r--src/DumpGH.c12
-rw-r--r--src/Startup.c5
2 files changed, 9 insertions, 8 deletions
diff --git a/src/DumpGH.c b/src/DumpGH.c
index e844592..3796e28 100644
--- a/src/DumpGH.c
+++ b/src/DumpGH.c
@@ -36,9 +36,9 @@ CCTK_FILEVERSION(CactusPUGHIO_IOHDF5_DumpGH_c)
/********************************************************************
******************** External Routines ************************
********************************************************************/
-void IOHDF5_InitialDataCheckpoint (const cGH *GH);
-void IOHDF5_EvolutionCheckpoint (const cGH *GH);
-void IOHDF5_TerminationCheckpoint (const cGH *GH);
+void IOHDF5_InitialDataCheckpoint (cGH *GH);
+void IOHDF5_EvolutionCheckpoint (cGH *GH);
+void IOHDF5_TerminationCheckpoint (cGH *GH);
/********************************************************************
@@ -64,7 +64,7 @@ static int Checkpoint (const cGH *GH, int called_from);
@vio in
@endvar
@@*/
-void IOHDF5_InitialDataCheckpoint (const cGH *GH)
+void IOHDF5_InitialDataCheckpoint (cGH *GH)
{
DECLARE_CCTK_PARAMETERS
@@ -99,7 +99,7 @@ void IOHDF5_InitialDataCheckpoint (const cGH *GH)
@vio in
@endvar
@@*/
-void IOHDF5_EvolutionCheckpoint (const cGH *GH)
+void IOHDF5_EvolutionCheckpoint (cGH *GH)
{
DECLARE_CCTK_PARAMETERS
@@ -143,7 +143,7 @@ void IOHDF5_EvolutionCheckpoint (const cGH *GH)
@vio in
@endvar
@@*/
-void IOHDF5_TerminationCheckpoint (const cGH *GH)
+void IOHDF5_TerminationCheckpoint (cGH *GH)
{
const ioHDF5GH *myGH;
DECLARE_CCTK_PARAMETERS
diff --git a/src/Startup.c b/src/Startup.c
index a7ee198..c4c2bea 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -26,7 +26,7 @@ CCTK_FILEVERSION(CactusPUGHIO_IOHDF5_Startup_c)
/********************************************************************
******************** External Routines ************************
********************************************************************/
-void IOHDF5_Startup (void);
+int IOHDF5_Startup (void);
/********************************************************************
@@ -48,9 +48,10 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH);
@calls CCTK_RegisterGHExtension
CCTK_RegisterGHExtensionSetupGH
@@*/
-void IOHDF5_Startup (void)
+int IOHDF5_Startup (void)
{
CCTK_RegisterGHExtensionSetupGH (CCTK_RegisterGHExtension ("IOHDF5"),SetupGH);
+ return 0;
}