aboutsummaryrefslogtreecommitdiff
path: root/src/Boundary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Boundary.h')
-rw-r--r--src/Boundary.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Boundary.h b/src/Boundary.h
index 271ec58..99de680 100644
--- a/src/Boundary.h
+++ b/src/Boundary.h
@@ -19,8 +19,9 @@ extern "C"
/* data type for pointer to function which implements a physical boundary
condition: */
-typedef CCTK_INT (*phys_bc_fn_ptr)(CCTK_POINTER, CCTK_INT, CCTK_INT *,
- CCTK_INT *, CCTK_INT *);
+typedef CCTK_INT (*phys_bc_fn_ptr)(const CCTK_POINTER, const CCTK_INT,
+ const CCTK_INT *, const CCTK_INT *,
+ const CCTK_INT *);
/* prototype for routine registed as providing 'None' boundary condition */