aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/slab.cc2
-rw-r--r--src/slab.h68
2 files changed, 35 insertions, 35 deletions
diff --git a/src/slab.cc b/src/slab.cc
index a21ee4e..219f6d5 100644
--- a/src/slab.cc
+++ b/src/slab.cc
@@ -1084,7 +1084,7 @@ Slab_MultiTransfer_Init
CCTK_TimerStartI (timer_init);
- slabsetup * CCTK_RESTRICT const slabsetup = new struct slabsetup;
+ slabsetup * restrict const slabsetup = new struct slabsetup;
diff --git a/src/slab.h b/src/slab.h
index e8c1855..9718c42 100644
--- a/src/slab.h
+++ b/src/slab.h
@@ -91,12 +91,12 @@ struct xferinfo {
};
void
-print_slabinfo (FILE * const out,
- struct slabinfo const * CCTK_RESTRICT const slabinfo);
+print_slabinfo (FILE * const out,
+ struct slabinfo const * restrict const slabinfo);
void
-print_xferinfo (FILE * const out,
- struct xferinfo const * CCTK_RESTRICT const xferinfo);
+print_xferinfo (FILE * const out,
+ struct xferinfo const * restrict const xferinfo);
@@ -104,48 +104,48 @@ struct slabsetup;
struct slabsetup *
Slab_MultiTransfer_Init
-(cGH const * CCTK_RESTRICT const cctkGH,
- int const dim,
- struct xferinfo const * CCTK_RESTRICT const xferinfo,
- int const options);
+(cGH const * restrict const cctkGH,
+ int const dim,
+ struct xferinfo const * restrict const xferinfo,
+ int const options);
int
Slab_MultiTransfer_Apply
-(cGH const * CCTK_RESTRICT const cctkGH,
- struct slabsetup const * CCTK_RESTRICT const slabsetup,
- int const nvars,
- int const * CCTK_RESTRICT const srctypes,
- void const * CCTK_RESTRICT const * CCTK_RESTRICT const srcptrs,
- int const * CCTK_RESTRICT const dsttypes,
- void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs);
+(cGH const * restrict const cctkGH,
+ struct slabsetup const * restrict const slabsetup,
+ int const nvars,
+ int const * restrict const srctypes,
+ void const * restrict const * restrict const srcptrs,
+ int const * restrict const dsttypes,
+ void * restrict const * restrict const dstptrs);
int
Slab_MultiTransfer_Finalize
-(cGH const * CCTK_RESTRICT const cctkGH,
- struct slabsetup * CCTK_RESTRICT const slabsetup);
+(cGH const * restrict const cctkGH,
+ struct slabsetup * restrict const slabsetup);
int
Slab_MultiTransfer
-(cGH const * CCTK_RESTRICT const cctkGH,
- int const dim,
- struct xferinfo const * CCTK_RESTRICT const xferinfo,
- int const options,
- int const nvars,
- int const * CCTK_RESTRICT const srctypes,
- void const * CCTK_RESTRICT const * CCTK_RESTRICT const srcptrs,
- int const * CCTK_RESTRICT const dsttypes,
- void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs);
+(cGH const * restrict const cctkGH,
+ int const dim,
+ struct xferinfo const * restrict const xferinfo,
+ int const options,
+ int const nvars,
+ int const * restrict const srctypes,
+ void const * restrict const * restrict const srcptrs,
+ int const * restrict const dsttypes,
+ void * restrict const * restrict const dstptrs);
int
Slab_Transfer
-(cGH const * CCTK_RESTRICT const cctkGH,
- int const dim,
- struct xferinfo const * CCTK_RESTRICT const xferinfo,
- int const options,
- int const srctype,
- void const * CCTK_RESTRICT const srcptr,
- int const dsttype,
- void * CCTK_RESTRICT const dstptr);
+(cGH const * restrict const cctkGH,
+ int const dim,
+ struct xferinfo const * restrict const xferinfo,
+ int const options,
+ int const srctype,
+ void const * restrict const srcptr,
+ int const dsttype,
+ void * restrict const dstptr);
#ifdef __cplusplus
}