diff options
author | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 14:06:48 +0000 |
---|---|---|
committer | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 14:06:48 +0000 |
commit | 9ad094051bb168e78ce1948c4a816d52c34180d0 (patch) | |
tree | 03f0761ea8c07c55c2cd86b5b996c3027f155857 /libgfortran/intrinsics | |
parent | 4de2453b7937223b636307c3a521e782b5ec0839 (diff) | |
download | gcc-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/intrinsics')
-rw-r--r-- | libgfortran/intrinsics/args.c | 12 | ||||
-rw-r--r-- | libgfortran/intrinsics/env.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/libgfortran/intrinsics/args.c b/libgfortran/intrinsics/args.c index caa55d46d8b..984fa91d352 100644 --- a/libgfortran/intrinsics/args.c +++ b/libgfortran/intrinsics/args.c @@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */ /* Get a commandline argument. */ void -prefix(getarg_i4) (GFC_INTEGER_4 *pos, char *val, gfc_strlen_type val_len) +prefix(getarg_i4) (GFC_INTEGER_4 *pos, char *val, gfc_charlen_type val_len) { int argc; int arglen; @@ -55,7 +55,7 @@ prefix(getarg_i4) (GFC_INTEGER_4 *pos, char *val, gfc_strlen_type val_len) /* INTEGER*8 wrapper of getarg. */ void -prefix(getarg_i8) (GFC_INTEGER_8 *pos, char *val, gfc_strlen_type val_len) +prefix(getarg_i8) (GFC_INTEGER_8 *pos, char *val, gfc_charlen_type val_len) { GFC_INTEGER_4 pos4; @@ -103,7 +103,7 @@ prefix(get_command_argument_i4) (GFC_INTEGER_4 *number, char *value, GFC_INTEGER_4 *length, GFC_INTEGER_4 *status, - gfc_strlen_type value_len) + gfc_charlen_type value_len) { int argc, arglen = 0, stat_flag = GFC_GC_SUCCESS; char **argv; @@ -155,7 +155,7 @@ prefix(get_command_argument_i8) (GFC_INTEGER_8 *number, char *value, GFC_INTEGER_8 *length, GFC_INTEGER_8 *status, - gfc_strlen_type value_len) + gfc_charlen_type value_len) { GFC_INTEGER_4 number4; GFC_INTEGER_4 length4; @@ -177,7 +177,7 @@ void prefix(get_command_i4) (char *command, GFC_INTEGER_4 *length, GFC_INTEGER_4 *status, - gfc_strlen_type command_len) + gfc_charlen_type command_len) { int i, argc, arglen, thisarg; int stat_flag = GFC_GC_SUCCESS; @@ -237,7 +237,7 @@ void prefix(get_command_i8) (char *command, GFC_INTEGER_8 *length, GFC_INTEGER_8 *status, - gfc_strlen_type command_len) + gfc_charlen_type command_len) { GFC_INTEGER_4 length4; GFC_INTEGER_4 status4; diff --git a/libgfortran/intrinsics/env.c b/libgfortran/intrinsics/env.c index 9898471844a..6695d5b9cf6 100644 --- a/libgfortran/intrinsics/env.c +++ b/libgfortran/intrinsics/env.c @@ -34,8 +34,8 @@ Boston, MA 02111-1307, USA. */ void prefix(getenv) (char * name, char * value, - gfc_strlen_type name_len, - gfc_strlen_type value_len) + gfc_charlen_type name_len, + gfc_charlen_type value_len) { /* Make a null-terminated copy of the name string so that c library @@ -99,8 +99,8 @@ prefix(get_environment_variable_i4) GFC_INTEGER_4 *length, GFC_INTEGER_4 *status, GFC_LOGICAL_4 *trim_name, - gfc_strlen_type name_len, - gfc_strlen_type value_len) + gfc_charlen_type name_len, + gfc_charlen_type value_len) { int stat = GFC_SUCCESS, res_len = 0; char name_nt[name_len+1], *res; @@ -164,8 +164,8 @@ prefix(get_environment_variable_i8) GFC_INTEGER_8 *length, GFC_INTEGER_8 *status, GFC_LOGICAL_8 *trim_name, - gfc_strlen_type name_len, - gfc_strlen_type value_len) + gfc_charlen_type name_len, + gfc_charlen_type value_len) { GFC_INTEGER_4 length4, status4; GFC_LOGICAL_4 trim_name4; |