diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-21 16:35:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-21 16:35:47 +0000 |
commit | 32e2cbeeab281a2da4a9957c831f13cfe7bdec69 (patch) | |
tree | 4bc7d158d0c622a1ced2110ecda61c27d0bb4890 /newlib/libc/sys/linux | |
parent | 37d3b04f8803d335c1262ae08ca7f4a91cdd445f (diff) | |
download | cygnal-32e2cbeeab281a2da4a9957c831f13cfe7bdec69.tar.gz cygnal-32e2cbeeab281a2da4a9957c831f13cfe7bdec69.tar.bz2 cygnal-32e2cbeeab281a2da4a9957c831f13cfe7bdec69.zip |
2013-11-21 Daniel Ramirez <javamonn@gmail.com>
* libc/include/sys/stat.h, libc/sys/linux/sys/stat.h,
libc/sys/m88kbug/syscalls.c, libc/sys/rdos/stat.c,
libc/sys/sparc64/sys/stat.h: Add restrict keyword.
Diffstat (limited to 'newlib/libc/sys/linux')
-rw-r--r-- | newlib/libc/sys/linux/sys/stat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/sys/linux/sys/stat.h b/newlib/libc/sys/linux/sys/stat.h index 99da598ba..c04142c45 100644 --- a/newlib/libc/sys/linux/sys/stat.h +++ b/newlib/libc/sys/linux/sys/stat.h @@ -20,14 +20,14 @@ int _EXFUN(fstat,( int __fd, struct stat *__sbuf )); int _EXFUN(mkdir,( const char *_path, mode_t __mode )); int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); -int _EXFUN(stat,( const char *__path, struct stat *__sbuf )); +int _EXFUN(stat,( const char *__restrict __path, struct stat *__restrict __sbuf )); mode_t _EXFUN(umask,( mode_t __mask )); #ifndef _POSIX_SOURCE int _EXFUN(fstat64,( int __fd, struct stat64 *__sbuf )); -int _EXFUN(lstat,( const char *file_name, struct stat64 *buf)); -int _EXFUN(lstat64,( const char *file_name, struct stat64 *buf)); -int _EXFUN(stat64,( const char *__path, struct stat64 *__sbuf )); +int _EXFUN(lstat,( const char *__restrict file_name, struct stat64 *__restrict buf)); +int _EXFUN(lstat64,( const char *__restrict file_name, struct stat64 *__restrict buf)); +int _EXFUN(stat64,( const char *__restrict __path, struct stat64 *__restrict __sbuf )); #endif /* _POSIX_SOURCE */ #endif /* _SYS_STAT_H */ |