summaryrefslogtreecommitdiff
path: root/libgfortran/generated/reshape_i16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/reshape_i16.c')
-rw-r--r--libgfortran/generated/reshape_i16.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/libgfortran/generated/reshape_i16.c b/libgfortran/generated/reshape_i16.c
index 2d793e2929d..a8fece516fd 100644
--- a/libgfortran/generated/reshape_i16.c
+++ b/libgfortran/generated/reshape_i16.c
@@ -40,13 +40,19 @@ typedef GFC_ARRAY_DESCRIPTOR(1, index_type) shape_type;
/* The shape parameter is ignored. We can currently deduce the shape from the
return array. */
-extern void reshape_16 (gfc_array_i16 *, gfc_array_i16 *, shape_type *,
- gfc_array_i16 *, shape_type *);
+extern void reshape_16 (gfc_array_i16 * const restrict,
+ gfc_array_i16 * const restrict,
+ shape_type * const restrict,
+ gfc_array_i16 * const restrict,
+ shape_type * const restrict);
export_proto(reshape_16);
void
-reshape_16 (gfc_array_i16 * ret, gfc_array_i16 * source, shape_type * shape,
- gfc_array_i16 * pad, shape_type * order)
+reshape_16 (gfc_array_i16 * const restrict ret,
+ gfc_array_i16 * const restrict source,
+ shape_type * const restrict shape,
+ gfc_array_i16 * const restrict pad,
+ shape_type * const restrict order)
{
/* r.* indicates the return array. */
index_type rcount[GFC_MAX_DIMENSIONS];