diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-19 17:32:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-19 17:32:24 +0000 |
commit | aed5f73fa8123aa29aa20df26c6f897cbbdfeca6 (patch) | |
tree | 9863c96becf964d16fc421e711fd859bd3fc0bb9 /newlib/libc/sys/linux/realpath.c | |
parent | 7dffe44b092eaa2f111eaf3703cb3ecf9213e21e (diff) | |
download | cygnal-aed5f73fa8123aa29aa20df26c6f897cbbdfeca6.tar.gz cygnal-aed5f73fa8123aa29aa20df26c6f897cbbdfeca6.tar.bz2 cygnal-aed5f73fa8123aa29aa20df26c6f897cbbdfeca6.zip |
2013-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/stdlib.h: Add prototype of realpath().
* libc/sys/linux/realpath.c: Add restrict keyword.
Diffstat (limited to 'newlib/libc/sys/linux/realpath.c')
-rw-r--r-- | newlib/libc/sys/linux/realpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/realpath.c b/newlib/libc/sys/linux/realpath.c index 8aa5eb445..63793c608 100644 --- a/newlib/libc/sys/linux/realpath.c +++ b/newlib/libc/sys/linux/realpath.c @@ -69,7 +69,7 @@ static int resolve_path(char *path,char *result,char *pos) } -char *realpath(const char *path,char *resolved_path) +char *realpath(const char *__restrict path,char *__restrict resolved_path) { char cwd[PATH_MAX]; char *path_copy; |