diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2005-11-27 23:03:33 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2005-11-27 23:03:33 +0200 |
commit | 64acfd9910111c7d754802a3b9c92ee82e441113 (patch) | |
tree | b1791f0354ad0366d696ec9df523d82d3bd9fe26 /libgfortran/m4/shape.m4 | |
parent | 949446f55711f5fa957caa6a8a1df7bd6b185471 (diff) | |
download | gcc-64acfd9910111c7d754802a3b9c92ee82e441113.tar.gz |
libgfortran ChangeLog:
2005-11-27 Janne Blomqvist <jb@gcc.gnu.org>
* m4/*: Add const restrict to function arguments.
* generated/*.c: Regenerate.
From-SVN: r107573
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; |