From b4cafd6717ebdc99a68ca9d2de7090e6053a713c Mon Sep 17 00:00:00 2001 From: jb Date: Sun, 27 Nov 2005 21:03:33 +0000 Subject: libgfortran ChangeLog: 2005-11-27 Janne Blomqvist * m4/*: Add const restrict to function arguments. * generated/*.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107573 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/m4/shape.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libgfortran/m4/shape.m4') diff --git a/libgfortran/m4/shape.m4 b/libgfortran/m4/shape.m4 index 1b9e10077c0..e46c3dd7f91 100644 --- a/libgfortran/m4/shape.m4 +++ b/libgfortran/m4/shape.m4 @@ -36,11 +36,13 @@ include(iparm.m4)dnl `#if defined (HAVE_'rtype_name`)' -extern void shape_`'rtype_kind (rtype * ret, const rtype * array); +extern void shape_`'rtype_kind (rtype * const restrict ret, + const rtype * const restrict array); export_proto(shape_`'rtype_kind); void -shape_`'rtype_kind (rtype * ret, const rtype * array) +shape_`'rtype_kind (rtype * const restrict ret, + const rtype * const restrict array) { int n; index_type stride; -- cgit v1.2.1