aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/sys/reent.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-11-29 16:28:30 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-11-29 16:28:30 +0000
commit0772f3f1c18483ff69b4a4cec918df39596eae5c (patch)
treead788e069002f5924f39d5f624368177a6223d97 /newlib/libc/include/sys/reent.h
parent0d829d9695a57a37203b1ef1e4ca812bd1fb2fb1 (diff)
downloadnewlib-0772f3f1c18483ff69b4a4cec918df39596eae5c.zip
newlib-0772f3f1c18483ff69b4a4cec918df39596eae5c.tar.gz
newlib-0772f3f1c18483ff69b4a4cec918df39596eae5c.tar.bz2
* 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().
Diffstat (limited to 'newlib/libc/include/sys/reent.h')
-rw-r--r--newlib/libc/include/sys/reent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index 8518964..7e321e0 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? */