summaryrefslogtreecommitdiffstats
path: root/libgfortran/io/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r--libgfortran/io/unix.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c
index 3a795aef536..eea03ba7f81 100644
--- a/libgfortran/io/unix.c
+++ b/libgfortran/io/unix.c
@@ -135,28 +135,6 @@ typedef struct stat gfstat_t;
static const int BUFFER_SIZE = 8192;
-typedef struct
-{
- stream st;
-
- gfc_offset buffer_offset; /* File offset of the start of the buffer */
- gfc_offset physical_offset; /* Current physical file offset */
- gfc_offset logical_offset; /* Current logical file offset */
- gfc_offset file_length; /* Length of the file, -1 if not seekable. */
-
- char *buffer; /* Pointer to the buffer. */
- int fd; /* The POSIX file descriptor. */
-
- int active; /* Length of valid bytes in the buffer */
-
- int prot;
- int ndirty; /* Dirty bytes starting at buffer_offset */
-
- int special_file; /* =1 if the fd refers to a special file */
-}
-unix_stream;
-
-
/* fix_fd()-- Given a file descriptor, make sure it is not one of the
* standard descriptors, returning a non-standard descriptor. If the
* user specifies that system errors should go to standard output,
OpenPOWER on IntegriCloud