diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-11-25 15:38:08 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-11-25 15:38:08 +0400 |
commit | 3073f26d6ab5d0ce902d5bfe75600e6577d903c9 (patch) | |
tree | e194898fb1b64aa0997016e8359861ef48ede14e /winsup/cygwin/path.cc | |
parent | bd1af1cab5cc78a5d97bdd9ba2e9e934fc80688e (diff) |
Throughout, keep function definitions and declarations in sync with
newlib in terms of C99 "restrict" keyword.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 2b1e61442..91d847455 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2989,7 +2989,7 @@ symlink_info::set (char *path) /* readlink system call */ extern "C" ssize_t -readlink (const char *path, char *buf, size_t buflen) +readlink (const char *__restrict path, char *__restrict buf, size_t buflen) { if (buflen < 0) { @@ -3413,7 +3413,7 @@ cygwin_conv_to_full_posix_path (const char *path, char *posix_path) /* The realpath function is required by POSIX:2008. */ extern "C" char * -realpath (const char *path, char *resolved) +realpath (const char *__restrict path, char *__restrict resolved) { /* Make sure the right errno is returned if path is NULL. */ if (!path) |