diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-07-06 15:23:27 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-07-06 15:23:27 +0000 |
commit | efc428827bd2f9e254d08be2b7a24f65fac2731a (patch) | |
tree | 0fa0f033ee5074a6f74983e5b253ec66b650a8b0 /newlib/libc/sys/rtems | |
parent | 41ee3188d725d05c75654b04f64a62b7bb498ef8 (diff) | |
download | cygnal-efc428827bd2f9e254d08be2b7a24f65fac2731a.tar.gz cygnal-efc428827bd2f9e254d08be2b7a24f65fac2731a.tar.bz2 cygnal-efc428827bd2f9e254d08be2b7a24f65fac2731a.zip |
* 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.
Diffstat (limited to 'newlib/libc/sys/rtems')
-rw-r--r-- | newlib/libc/sys/rtems/sys/dirent.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/sys/dirent.h b/newlib/libc/sys/rtems/sys/dirent.h index fa3182824..9cd4f3657 100644 --- a/newlib/libc/sys/rtems/sys/dirent.h +++ b/newlib/libc/sys/rtems/sys/dirent.h @@ -31,6 +31,10 @@ int closedir(DIR *); void seekdir(DIR *dir, long loc); long telldir(DIR *dir); +#ifdef _COMPILING_NEWLIB +void _seekdir(DIR *dir, long offset); +#endif + #include <sys/types.h> #include <limits.h> |