aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2003-03-11 14:19:00 +0000
committerschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2003-03-11 14:19:00 +0000
commit56997204ccf8e623f6a147a3325c55476448663f (patch)
treed87071dbcc3419c179e75def0cb046fef2513b00
parentbb2c73195c19312597c7b7620646f653a63f263f (diff)
Changed many "cGH *" arguments to "const cGH *".
Pad: further development. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@18 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
-rw-r--r--src/slab.c6
-rw-r--r--src/slab.h2
2 files changed, 4 insertions, 4 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,
diff --git a/src/slab.h b/src/slab.h
index 69c63a6..84c0af1 100644
--- a/src/slab.h
+++ b/src/slab.h
@@ -85,7 +85,7 @@ struct xferinfo {
int flip;
};
-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,