summaryrefslogtreecommitdiff
path: root/libgfortran/generated/transpose_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/transpose_i4.c')
-rw-r--r--libgfortran/generated/transpose_i4.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libgfortran/generated/transpose_i4.c b/libgfortran/generated/transpose_i4.c
index b3979a87d4c..cf2bfc7ee87 100644
--- a/libgfortran/generated/transpose_i4.c
+++ b/libgfortran/generated/transpose_i4.c
@@ -34,11 +34,13 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4)
-extern void transpose_i4 (gfc_array_i4 * ret, gfc_array_i4 * source);
+extern void transpose_i4 (gfc_array_i4 * const restrict ret,
+ gfc_array_i4 * const restrict source);
export_proto(transpose_i4);
void
-transpose_i4 (gfc_array_i4 * ret, gfc_array_i4 * source)
+transpose_i4 (gfc_array_i4 * const restrict ret,
+ gfc_array_i4 * const restrict source)
{
/* r.* indicates the return array. */
index_type rxstride, rystride;