diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-03-14 13:31:47 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-03-14 13:31:47 +0000 |
commit | 6aeec6fb15ff6ef2316600a838b8e83499a503a6 (patch) | |
tree | 0d777f2add4afa68eff380d8ecffd347358b43c4 /src | |
parent | 2ea6ecba66422a4fd8562a71127ab80978e9d613 (diff) |
Fixing warnings for usage of const *<type> pointers.
Thomas
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@42 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src')
-rw-r--r-- | src/GHExtension.c | 2 | ||||
-rw-r--r-- | src/Output.c | 2 | ||||
-rw-r--r-- | src/OutputInfo.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c index 5a70352..aca1cb1 100644 --- a/src/GHExtension.c +++ b/src/GHExtension.c @@ -43,7 +43,7 @@ int IOBasic_InitGH (cGH *GH) DECLARE_CCTK_PARAMETERS int i; iobasicGH *myGH; - cParamData *paramdata; + const cParamData *paramdata; /* get the handles for IOBasic extensions */ myGH = (iobasicGH *) GH->extensions [CCTK_GHExtensionHandle ("IOBasic")]; diff --git a/src/Output.c b/src/Output.c index 074dd0a..15a37a0 100644 --- a/src/Output.c +++ b/src/Output.c @@ -240,7 +240,7 @@ int IOBasic_TriggerOutput (cGH *GH, int index) static void CheckSteerableParameters (iobasicGH *myGH) { DECLARE_CCTK_PARAMETERS - cParamData *paramdata; + const cParamData *paramdata; static int outScalar_vars_lastset = 0; diff --git a/src/OutputInfo.c b/src/OutputInfo.c index bb63893..8f2150f 100644 --- a/src/OutputInfo.c +++ b/src/OutputInfo.c @@ -59,7 +59,7 @@ int IOBasic_OutputInfoGH (cGH *GH) int i; const char *name; iobasicGH *myGH; - cParamData *paramdata; + const cParamData *paramdata; /* Get the GH extensions for IOBasic */ @@ -239,7 +239,7 @@ int IOBasic_TimeForInfo (cGH *GH, int var) { int return_type; iobasicGH *myGH; - cParamData *paramdata; + const cParamData *paramdata; DECLARE_CCTK_PARAMETERS |