aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/unix.h
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2010-11-04 21:29:28 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2010-11-04 21:29:28 +0200
commitce66b6f6cad2c071176d903486fdaea96796b31a (patch)
treef69d8dda9791d56ef2baca9e9c0a428cd528ab0b /libgfortran/io/unix.h
parent269c80f2a6b982cdc8364e1d2885c7ce5e8d6b9a (diff)
downloadgcc-ce66b6f6cad2c071176d903486fdaea96796b31a.zip
gcc-ce66b6f6cad2c071176d903486fdaea96796b31a.tar.gz
gcc-ce66b6f6cad2c071176d903486fdaea96796b31a.tar.bz2
PR 44931 Move struct unix_stream to unix.c
From-SVN: r166325
Diffstat (limited to 'libgfortran/io/unix.h')
-rw-r--r--libgfortran/io/unix.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/libgfortran/io/unix.h b/libgfortran/io/unix.h
index 563b77e..0e147aa 100644
--- a/libgfortran/io/unix.h
+++ b/libgfortran/io/unix.h
@@ -42,27 +42,6 @@ struct stream
};
-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 ndirty; /* Dirty bytes starting at buffer_offset */
-
- int special_file; /* =1 if the fd refers to a special file */
-}
-unix_stream;
-
-
/* Inline functions for doing file I/O given a stream. */
static inline ssize_t
sread (stream * s, void * buf, ssize_t nbyte)