aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/fileops.c1
-rw-r--r--libio/oldfileops.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index 7e60f7c..e5ffb24 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -48,7 +48,6 @@ extern int errno;
# define lseek(FD, Offset, Whence) __lseek (FD, Offset, Whence)
# define read(FD, Buf, NBytes) __read (FD, Buf, NBytes)
# define write(FD, Buf, NBytes) __write (FD, Buf, NBytes)
-# define fstat(FD, Buf) __fxstat (_STAT_VER, FD, Buf)
#endif
/* An fstream can be in at most one of put mode, get mode, or putback mode.
diff --git a/libio/oldfileops.c b/libio/oldfileops.c
index 41fbc69..7cf4fdf 100644
--- a/libio/oldfileops.c
+++ b/libio/oldfileops.c
@@ -483,7 +483,7 @@ _IO_old_file_seekoff (fp, offset, dir, mode)
break;
case _IO_seek_end:
{
- struct stat st;
+ struct _G_stat64 st;
if (_IO_SYSSTAT (fp, &st) == 0 && S_ISREG (st.st_mode))
{
offset += st.st_size;