diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-21 16:44:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-21 16:44:39 +0000 |
commit | a7c3258311f02587564df48055a8dabbab464fdc (patch) | |
tree | b99e0a6d2baf283bc5afd65dac52f0484216d9fb /newlib/libc/sys/sparc64 | |
parent | c9e978ed1b0a7ca8d0ed09480eba4b691c561271 (diff) | |
download | cygnal-a7c3258311f02587564df48055a8dabbab464fdc.tar.gz cygnal-a7c3258311f02587564df48055a8dabbab464fdc.tar.bz2 cygnal-a7c3258311f02587564df48055a8dabbab464fdc.zip |
2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/posix/readdir_r.c: Add restrict keyword.
* libc/machine/spu/sys/dirent.h, libc/sys/decstation/sys/dirent.h,
libc/sys/linux/sys/dirent.h, libc/sys/rtems/sys/dirent.h,
libc/sys/sparc64/sys/dirent.h, libc/sys/sun4/sys/dirent.h,
libc/sys/sysvi386/sys/dirent.h: Add readdir_r() prototype.
Diffstat (limited to 'newlib/libc/sys/sparc64')
-rw-r--r-- | newlib/libc/sys/sparc64/sys/dirent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/sparc64/sys/dirent.h b/newlib/libc/sys/sparc64/sys/dirent.h index 864bb5ca1..cb933b457 100644 --- a/newlib/libc/sys/sparc64/sys/dirent.h +++ b/newlib/libc/sys/sparc64/sys/dirent.h @@ -21,6 +21,8 @@ typedef struct __dirdesc { DIR *opendir (const char *); struct dirent *readdir (DIR *); +int readdir_r (DIR *__restrict, struct dirent *__restrict, + struct dirent **__restrict); void rewinddir (DIR *); int closedir (DIR *); |