summaryrefslogtreecommitdiffstats
path: root/libgfortran/intrinsics/env.c
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/intrinsics/env.c
parent4de2453b7937223b636307c3a521e782b5ec0839 (diff)
downloadppe42-gcc-9ad094051bb168e78ce1948c4a816d52c34180d0.tar.gz
ppe42-gcc-9ad094051bb168e78ce1948c4a816d52c34180d0.zip
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/env.c')
-rw-r--r--libgfortran/intrinsics/env.c12
1 files changed, 6 insertions, 6 deletions
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;
OpenPOWER on IntegriCloud