summaryrefslogtreecommitdiff
path: root/libgfortran/m4/transpose.m4
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-27 21:03:33 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-27 21:03:33 +0000
commitb4cafd6717ebdc99a68ca9d2de7090e6053a713c (patch)
treeb1791f0354ad0366d696ec9df523d82d3bd9fe26 /libgfortran/m4/transpose.m4
parentb92d95502eb80ce009645b3efad36efe7fea81c5 (diff)
downloadgcc-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/transpose.m4')
-rw-r--r--libgfortran/m4/transpose.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/libgfortran/m4/transpose.m4 b/libgfortran/m4/transpose.m4
index 56669cecef1..98926607f99 100644
--- a/libgfortran/m4/transpose.m4
+++ b/libgfortran/m4/transpose.m4
@@ -35,11 +35,13 @@ include(iparm.m4)dnl
`#if defined (HAVE_'rtype_name`)'
-extern void transpose_`'rtype_code (rtype * ret, rtype * source);
+extern void transpose_`'rtype_code (rtype * const restrict ret,
+ rtype * const restrict source);
export_proto(transpose_`'rtype_code);
void
-transpose_`'rtype_code (rtype * ret, rtype * source)
+transpose_`'rtype_code (rtype * const restrict ret,
+ rtype * const restrict source)
{
/* r.* indicates the return array. */
index_type rxstride, rystride;