From 4da340e6d3cbcd213e76f23eba4ae00822ec1479 Mon Sep 17 00:00:00 2001 From: eschnett Date: Fri, 21 Jan 2011 03:15:08 +0000 Subject: Correct signatures of scheduled functions git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@254 4825ed28-b72c-4eae-9704-e50c059e567d --- src/DumpGH.c | 12 ++++++------ src/Startup.c | 5 +++-- 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; } -- cgit v1.2.3