aboutsummaryrefslogtreecommitdiff
path: root/src/Write.c
diff options
context:
space:
mode:
authortradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2001-12-28 21:40:25 +0000
committertradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2001-12-28 21:40:25 +0000
commit8a6b1bab6403eb67ccb68492506087ed9a211b57 (patch)
tree6902be465ca3877b18a5726293219413e17e806a /src/Write.c
parentb95e1324355fb675877cae4c5e491bf8b2bd5d8e (diff)
Fixed return codes of I/O methods.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@76 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'src/Write.c')
-rw-r--r--src/Write.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Write.c b/src/Write.c
index 2142a29..c4d842d 100644
--- a/src/Write.c
+++ b/src/Write.c
@@ -26,7 +26,9 @@ static const char *rcsid = "$Header$";
CCTK_FILEVERSION(AlphaThorns_IOHDF5_Write_c)
-/* prototypes of routines defined in this source file */
+/********************************************************************
+ ******************** Internal Routines ************************
+ ********************************************************************/
static char *IOHDF5_GetFilename (const cGH *GH,
int vindex,
const ioHDF5Geo_t *slab,
@@ -70,13 +72,13 @@ static char *IOHDF5_GetFilename (const cGH *GH,
@@*/
int IOHDF5_Write (const cGH *GH, int vindex, const char *alias)
{
- DECLARE_CCTK_PARAMETERS
ioGH *ioUtilGH;
ioHDF5GH *myGH;
hid_t file, plist;
int is_new_file;
char *filename;
char *fullname;
+ DECLARE_CCTK_PARAMETERS
/* Get the handle for IO extensions */