summaryrefslogtreecommitdiff
path: root/libio/iofdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofdopen.c')
-rw-r--r--libio/iofdopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iofdopen.c b/libio/iofdopen.c
index b6f1500dee..39617365f5 100644
--- a/libio/iofdopen.c
+++ b/libio/iofdopen.c
@@ -30,7 +30,7 @@
#include <shlib-compat.h>
-_IO_FILE *
+FILE *
_IO_new_fdopen (int fd, const char *mode)
{
int read_write;
@@ -157,7 +157,7 @@ _IO_new_fdopen (int fd, const char *mode)
if (do_seek && ((read_write & (_IO_IS_APPENDING | _IO_NO_READS))
== (_IO_IS_APPENDING | _IO_NO_READS)))
{
- _IO_off64_t new_pos = _IO_SYSSEEK (&new_f->fp.file, 0, _IO_seek_end);
+ off64_t new_pos = _IO_SYSSEEK (&new_f->fp.file, 0, _IO_seek_end);
if (new_pos == _IO_pos_BAD && errno != ESPIPE)
return NULL;
}