aboutsummaryrefslogtreecommitdiff
path: root/src/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slab.c')
-rw-r--r--src/slab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slab.c b/src/slab.c
index 5a4f8c4..6a2ae1d 100644
--- a/src/slab.c
+++ b/src/slab.c
@@ -240,7 +240,7 @@ MPI_Alltoallv (void * sendbuf, int * sendcnt, int * sendoff, int sendtype,
/* Get the MPI COMM_WOLRD communicator from the driver */
static MPI_Comm
-get_mpi_comm (cGH * restrict const cctkGH)
+get_mpi_comm (const cGH * restrict const cctkGH)
{
#ifdef CCTK_MPI
# if defined CARPET_CARPET
@@ -547,7 +547,7 @@ static void bbox_xform (struct bbox * restrict const ydst,
-int Slab_Transfer (cGH * restrict const cctkGH,
+int Slab_Transfer (cGH const * restrict const cctkGH,
int const dim,
struct xferinfo const * restrict const xferinfo,
int const options,
@@ -1072,7 +1072,7 @@ int Slab_Transfer (cGH * restrict const cctkGH,
void CCTK_FCALL
CCTK_FNAME(Slab_Transfer) (int * restrict const ierr,
- cGH * restrict const cctkGH,
+ cGH const * restrict const cctkGH,
int const * restrict const dim,
int const * restrict const src_gsh,
int const * restrict const src_lbnd,