From 64acfd9910111c7d754802a3b9c92ee82e441113 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Sun, 27 Nov 2005 23:03:33 +0200 Subject: libgfortran ChangeLog: 2005-11-27 Janne Blomqvist * m4/*: Add const restrict to function arguments. * generated/*.c: Regenerate. From-SVN: r107573 --- libgfortran/generated/reshape_c4.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'libgfortran/generated/reshape_c4.c') diff --git a/libgfortran/generated/reshape_c4.c b/libgfortran/generated/reshape_c4.c index 4416b9060bc..384f36f2a5d 100644 --- a/libgfortran/generated/reshape_c4.c +++ b/libgfortran/generated/reshape_c4.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_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]; -- cgit v1.2.1