aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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_;