summaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-31 14:06:48 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-31 14:06:48 +0000
commit9ad094051bb168e78ce1948c4a816d52c34180d0 (patch)
tree03f0761ea8c07c55c2cd86b5b996c3027f155857 /libgfortran/libgfortran.h
parent4de2453b7937223b636307c3a521e782b5ec0839 (diff)
downloadgcc-9ad094051bb168e78ce1948c4a816d52c34180d0.tar.gz
fortran/
* trans-decl.c, trans-expr.c, trans-io.c, trans-types.c: Replace all occurences of 'gfc_strlen_type_node' by 'gfc_charlen_type_node'. * trans-types.h: Same. Also update comment accordingly. libgfortran/ * libgfortran.h: Replace 'gfc_strlen_type' by 'gfc_charlen_type'. Update comment accordingly. * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c: Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index 28197033b33..463cd60348f 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -91,8 +91,8 @@ typedef complex double GFC_COMPLEX_8;
by the compiler. */
/* The type used of array indices, amongst other things. */
typedef size_t index_type;
-/* The type used for string lengths. Nothing to do with strlen(3). */
-typedef GFC_INTEGER_4 gfc_strlen_type;
+/* The type used for the lengths of character variables. */
+typedef GFC_INTEGER_4 gfc_charlen_type;
/* This will be 0 on little-endian machines and one on big-endian machines. */
#define l8_to_l4_offset prefix(l8_to_l4_offset)