aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/io.h
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2010-10-19 01:28:50 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2010-10-19 01:28:50 +0000
commita11930ba8d19cc26848dc06d4a2571642af735b9 (patch)
tree57b515208fe72f75dd40e6e639f1fde700dcf61a /libgfortran/io/io.h
parent21016e43e2ead79d6dec8827a8c66339f467813b (diff)
downloadgcc-a11930ba8d19cc26848dc06d4a2571642af735b9.zip
gcc-a11930ba8d19cc26848dc06d4a2571642af735b9.tar.gz
gcc-a11930ba8d19cc26848dc06d4a2571642af735b9.tar.bz2
io.h: Remove definition of the BT enumerator.
2010-10-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> * io/io.h: Remove definition of the BT enumerator. * libgfortran.h: Replace GFC_DTYPE enumerator with BT. * intrinsics/iso_c_generated_procs.c: Likewise * intrinsics/date_and_time.c: Likewise. * intrinsics/iso_c_binding.c: Likewise. * io/list_read.c: Likewise. * io/transfer.c: Likewise. * io/write.c: Likewise. 2010-10-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.h: Remove definition of bt enumerator. * libgfortran.h: Add bt enumerator type alighned with defintion. Remove the dtype enumerator, no longer used. previously given in libgfortran/io.h * trans-types.c: Use new bt enumerator. * trans-io.c: Likewise. From-SVN: r165675
Diffstat (limited to 'libgfortran/io/io.h')
-rw-r--r--libgfortran/io/io.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
index 9955348..5089b6f 100644
--- a/libgfortran/io/io.h
+++ b/libgfortran/io/io.h
@@ -34,14 +34,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <setjmp.h>
#include <gthr.h>
-/* Basic types used in data transfers. */
-
-typedef enum
-{ BT_NULL, BT_INTEGER, BT_LOGICAL, BT_CHARACTER, BT_REAL,
- BT_COMPLEX
-}
-bt;
-
/* Forward declarations. */
struct st_parameter_dt;
typedef struct stream stream;
@@ -114,8 +106,8 @@ format_hash_entry;
typedef struct namelist_type
{
- /* Object type, stored as GFC_DTYPE_xxxx. */
- dtype type;
+ /* Object type. */
+ bt type;
/* Object name. */
char * var_name;