Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-19 21:32:24 +0400
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-19 21:32:24 +0400
commitaed5f73fa8123aa29aa20df26c6f897cbbdfeca6 (patch)
tree9863c96becf964d16fc421e711fd859bd3fc0bb9 /newlib/libc/sys/linux
parent7dffe44b092eaa2f111eaf3703cb3ecf9213e21e (diff)
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')
-rw-r--r--newlib/libc/sys/linux/realpath.c2
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;