diff options
author | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-27 21:03:33 +0000 |
---|---|---|
committer | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-27 21:03:33 +0000 |
commit | b4cafd6717ebdc99a68ca9d2de7090e6053a713c (patch) | |
tree | b1791f0354ad0366d696ec9df523d82d3bd9fe26 /libgfortran/m4/shape.m4 | |
parent | b92d95502eb80ce009645b3efad36efe7fea81c5 (diff) | |
download | gcc-b4cafd6717ebdc99a68ca9d2de7090e6053a713c.tar.gz |
libgfortran ChangeLog:
2005-11-27 Janne Blomqvist <jb@gcc.gnu.org>
* 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
Diffstat (limited to 'libgfortran/m4/shape.m4')
-rw-r--r-- | libgfortran/m4/shape.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
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; |