/* The shape parameter is ignored. We can currently deduce the shape from the
return array. */
-extern void reshape_c4 (gfc_array_c4 *, gfc_array_c4 *, shape_type *,
- gfc_array_c4 *, shape_type *);
+extern void reshape_c4 (gfc_array_c4 * const restrict,
+ gfc_array_c4 * const restrict,
+ shape_type * const restrict,
+ gfc_array_c4 * const restrict,
+ shape_type * const restrict);
export_proto(reshape_c4);
void
-reshape_c4 (gfc_array_c4 * ret, gfc_array_c4 * source, shape_type * shape,
- gfc_array_c4 * pad, shape_type * order)
+reshape_c4 (gfc_array_c4 * const restrict ret,
+ gfc_array_c4 * const restrict source,
+ shape_type * const restrict shape,
+ gfc_array_c4 * const restrict pad,
+ shape_type * const restrict order)
{
/* r.* indicates the return array. */
index_type rcount[GFC_MAX_DIMENSIONS];