aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}