diff options
author | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-11-23 23:10:04 +0000 |
---|---|---|
committer | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-11-23 23:10:04 +0000 |
commit | d0f4b9d5b116f7a960a1a317a20fd370485ee937 (patch) | |
tree | 85384c94af4a9913d54ea924a3450fc6f7da7610 /src/Startup.c | |
parent | f11299667fb86982998d1985ec4860eb4cfaaf3c (diff) |
Renamed variables 'index' into 'vindex' to suppress gcc warnings on
hiding a global routine index(3).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@55 0888f3d4-9f52-45d2-93bc-d00801ff5e46
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Startup.c b/src/Startup.c index 4469e6c..b8b448c 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -26,7 +26,9 @@ static char *rcsid = "$Id$"; CCTK_FILEVERSION(BetaThorns_IOStreamedHDF5_Startup_c) -/* local function prototypes */ +/* prototypes of routines defined in this source file */ +void IOStreamedHDF5_Startup (void); +void IOStreamedHDF5_Terminate (cGH *GH); static void *IOStreamedHDF5_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH); @@ -168,6 +170,10 @@ static void *IOStreamedHDF5_SetupGH (tFleshConfig *config, ioStreamedHDF5GH *myGH; + /* suppress compiler warnings about unused variables */ + config = config; + convergence_level = convergence_level; + myproc = CCTK_MyProc (GH); /* Register IOStreamedHDF5 routines as output methods */ |