diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2006-02-09 16:55:00 +0000 |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2006-02-09 16:55:00 +0000 |
commit | be5e2d4b7498b80c175fe283a2361af2bd4ab006 (patch) | |
tree | 50041cb4159e69c9d23cbf2c8b427fc51098dac3 /Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh | |
parent | f2c612a116d74e88914b084c73ddfc6a0ef2b7ee (diff) |
CarpetIOHDF5: fix declaration of scheduled routine
The scheduled routine CarpetIOHDF5_CloseFiles() was declared to return an int
and take no arguments. Instead it must be declared to take a 'const cGH* const'
argument. It should also return void.
See http://www.cactuscode.org/old/pipermail/developers/2006-February/001656.html.
This patch also fixes a couple of g++ warning about signed-unsigned integer
comparisons.
darcs-hash:20060209165534-776a0-24101ebd8c09cea0a9af04acc48f8e2aa2961e34.gz
Diffstat (limited to 'Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh')
-rw-r--r-- | Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh index 13b710b86..ab5624149 100644 --- a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh +++ b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh @@ -110,13 +110,13 @@ namespace CarpetIOHDF5 extern "C" { int CarpetIOHDF5_Startup (void); + int CarpetIOHDF5_RecoverParameters (void); int CarpetIOHDF5_Init (const cGH* const); int CarpetIOHDF5_SetNumRefinementLevels (void); - int CarpetIOHDF5_CloseFiles (void); int CarpetIOHDF5_InitialDataCheckpoint (const cGH* const); int CarpetIOHDF5_EvolutionCheckpoint (const cGH* const); int CarpetIOHDF5_TerminationCheckpoint (const cGH* const); - int CarpetIOHDF5_RecoverParameters (void); + void CarpetIOHDF5_CloseFiles (const cGH* const); } // extern "C" |