diff options
author | Eric Blake <eblake@redhat.com> | 2007-05-01 23:03:36 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2007-05-01 23:03:36 +0000 |
commit | b4f095585f1e139cba8d2e078c807e384b3e102d (patch) | |
tree | e7ee261d556586898030b9ac5252c6a2ab3d5c1d /newlib/libc/stdio/local.h | |
parent | 2babeb3d94cb8a507ca12b46252995b453600290 (diff) | |
download | cygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.gz cygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.bz2 cygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.zip |
* libc/stdio64/local64.h: Delete, move contents to...
* libc/stdio/local.h: ...here.
* libc/stdio64/fdopen64.c: Update includes.
* libc/stdio64/fopen64.c: Likewise.
* libc/stdio64/freopen64.c: Likewise.
* libc/stdio64/fseeko64.c: Likewise.
* libc/stdio64/ftello64.c: Likewise.
* libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
and stderr with 64-bit offset.
* libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
* libc/stdio/makebuf.c (__smakebuf_r): Likewise.
* libc/stdio/mktemp.c (_gettemp): Likewise.
Diffstat (limited to 'newlib/libc/stdio/local.h')
-rw-r--r-- | newlib/libc/stdio/local.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/stdio/local.h b/newlib/libc/stdio/local.h index 4263a9de6..0dba774ae 100644 --- a/newlib/libc/stdio/local.h +++ b/newlib/libc/stdio/local.h @@ -46,6 +46,14 @@ extern int _EXFUN(_fwalk,(struct _reent *, int (*)(FILE *))); extern int _EXFUN(_fwalk_reent,(struct _reent *, int (*)(struct _reent *, FILE *))); struct _glue * _EXFUN(__sfmoreglue,(struct _reent *,int n)); +#ifdef __LARGE64_FILES +extern _fpos64_t _EXFUN(__sseek64,(void *, _fpos64_t, int)); +extern _fpos64_t _EXFUN(__sseek64_r,(struct _reent *, void *, _fpos64_t, int)); +extern _READ_WRITE_RETURN_TYPE _EXFUN(__swrite64,(void *, char const *, int)); +extern _READ_WRITE_RETURN_TYPE _EXFUN(__swrite64_r,(struct _reent *, void *, + char const *, int)); +#endif + /* Called by the main entry point fns to ensure stdio has been initialized. */ #ifdef _REENT_SMALL |