about summary refs log tree commit diff
path: root/libio/ftello.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/ftello.c')
-rw-r--r--libio/ftello.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/ftello.c b/libio/ftello.c
index c9df0569f0..5405821b45 100644
--- a/libio/ftello.c
+++ b/libio/ftello.c
@@ -31,9 +31,9 @@
 
 
 off_t
-__ftello (_IO_FILE *fp)
+__ftello (FILE *fp)
 {
-  _IO_off64_t pos;
+  off64_t pos;
   CHECK_FILE (fp, -1L);
   _IO_acquire_lock (fp);
   pos = _IO_seekoff_unlocked (fp, 0, _IO_seek_cur, 0);
@@ -49,7 +49,7 @@ __ftello (_IO_FILE *fp)
 	__set_errno (EIO);
       return -1L;
     }
-  if ((_IO_off64_t) (off_t) pos != pos)
+  if ((off64_t) (off_t) pos != pos)
     {
       __set_errno (EOVERFLOW);
       return -1L;