aboutsummaryrefslogtreecommitdiff
path: root/libio/streambuf.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>1999-12-22 10:01:59 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>1999-12-22 10:01:59 +0100
commitbf3f1a7161cf6401a0bba5d5d28b9e79b199f6ec (patch)
tree5f116c7f174938acd751cdac89f633761c44642d /libio/streambuf.h
parentf6a898ba9e5640269015a0f035adfdc10d18bd40 (diff)
downloadgcc-bf3f1a7161cf6401a0bba5d5d28b9e79b199f6ec.zip
gcc-bf3f1a7161cf6401a0bba5d5d28b9e79b199f6ec.tar.gz
gcc-bf3f1a7161cf6401a0bba5d5d28b9e79b199f6ec.tar.bz2
libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t.
* libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t. (_IO_seekoff, _IO_seekpos): Likewise. Use _IO_off64_t instead of _IO_fpos64_t. * libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Likewise. (_IO_seekoff, _IO_seekpos): Likewise. (_IO_default_seekoff, _IO_default_seekpos): Likewise. (_IO_default_seek): Likewise. (_IO_file_seekoff, _IO_file_seek, _IO_str_seekoff): Likewise. * streambuf.h (streampos): Typedef to _IO_off_t resp. _IO_off64_t. * parsestream.h (class parsebuf::pos_at_line_start): Change type to _IO_off_t. From-SVN: r31068
Diffstat (limited to 'libio/streambuf.h')
-rw-r--r--libio/streambuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/streambuf.h b/libio/streambuf.h
index 8785d96..193c499 100644
--- a/libio/streambuf.h
+++ b/libio/streambuf.h
@@ -72,10 +72,10 @@ class ostream; class streambuf;
#if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001
typedef _IO_off64_t streamoff;
-typedef _IO_fpos64_t streampos;
+typedef _IO_off64_t streampos;
#else
typedef _IO_off_t streamoff;
-typedef _IO_fpos_t streampos;
+typedef _IO_off_t streampos;
#endif
typedef _IO_ssize_t streamsize;