summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/reent/lseekr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index e600e2c21..001b5d8f6 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,9 @@
2003-03-09 Corinna Vinschen <corinna@vinschen.de>
+ * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
+
+2003-03-09 Corinna Vinschen <corinna@vinschen.de>
+
* libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
Cygwin.
diff --git a/newlib/libc/reent/lseekr.c b/newlib/libc/reent/lseekr.c
index ed8ba13ed..45a340a3d 100644
--- a/newlib/libc/reent/lseekr.c
+++ b/newlib/libc/reent/lseekr.c
@@ -45,11 +45,11 @@ DESCRIPTION
<<errno>>.
*/
-off_t
+_off_t
_lseek_r (ptr, fd, pos, whence)
struct _reent *ptr;
int fd;
- off_t pos;
+ _off_t pos;
int whence;
{
off_t ret;