From efc428827bd2f9e254d08be2b7a24f65fac2731a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 6 Jul 2010 15:23:27 +0000 Subject: * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t. * libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype. * libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long rather than off_t. --- newlib/libc/sys/linux/sys/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/sys/linux') diff --git a/newlib/libc/sys/linux/sys/dirent.h b/newlib/libc/sys/linux/sys/dirent.h index 58d774594..ec8ed89d4 100644 --- a/newlib/libc/sys/linux/sys/dirent.h +++ b/newlib/libc/sys/linux/sys/dirent.h @@ -40,7 +40,7 @@ void rewinddir(DIR *); int closedir(DIR *); /* internal prototype */ -void _seekdir(DIR *dir,off_t offset); +void _seekdir(DIR *dir, long offset); DIR *_opendir(const char *); #ifndef _POSIX_SOURCE -- cgit v1.2.3