aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2004-11-10 21:13:18 +0000
committerschnetter <schnetter@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2004-11-10 21:13:18 +0000
commite424c9749e261bbadab712bcaf1cad190143291a (patch)
treed23120e872c6afb95cdf2c3be251e4aba0a9f76d
parenta392b857f4cf624bef9f016b1fde599ddbb5633b (diff)
Make declaration of Diff_gv and Diff_gf const-correct.
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@15 f69c4107-0314-4c4f-9ad4-17e986b73f4a
-rw-r--r--src/call_derivs.c2
-rw-r--r--src/call_derivs_name.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/call_derivs.c b/src/call_derivs.c
index f8807c2..7fe4c76 100644
--- a/src/call_derivs.c
+++ b/src/call_derivs.c
@@ -4,7 +4,7 @@
#include <assert.h>
-void DiffGv ( const CCTK_POINTER cctkGH_, const CCTK_INT dir,
+void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
const CCTK_REAL *var, CCTK_REAL *dvar )
{
cGH const * restrict const cctkGH = cctkGH_;
diff --git a/src/call_derivs_name.c b/src/call_derivs_name.c
index 893aa43..f7804b0 100644
--- a/src/call_derivs_name.c
+++ b/src/call_derivs_name.c
@@ -4,7 +4,7 @@
#include <assert.h>
-void DiffGf ( const CCTK_POINTER cctkGH_, const CCTK_INT dir,
+void DiffGf ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
const char *var_name, const char *dvar_name )
{
cGH const * restrict const cctkGH = cctkGH_;