From 0772f3f1c18483ff69b4a4cec918df39596eae5c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 29 Nov 2012 16:28:30 +0000 Subject: * libc/include/sys/reent.h (__sFILE): Change type of _offset from int to _off_t. * libc/stdio/ftell.c: Use _ftello_r(). * libc/stdio/ftello.c: Copy implementation from previous _ftell_r(). * libc/stdio/fseek.c: Use _fseeko_r(). * libc/stdio/fseeko.c: Copy implementation from previous _fseek_r(). --- newlib/libc/include/sys/reent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/include/sys') diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h index 8518964f9..7e321e053 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -203,7 +203,7 @@ struct __sFILE { /* Unix stdio files get aligned to block boundaries on fseek() */ int _blksize; /* stat.st_blksize (may be != _bf._size) */ - int _offset; /* current lseek offset */ + _off_t _offset; /* current lseek offset */ #ifndef _REENT_SMALL struct _reent *_data; /* Here for binary compatibility? Remove? */ -- cgit v1.2.3