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-23 02:39:51 +0400
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-23 02:39:51 +0400
commit849fe25d0e50b015bcbe531113cd400ca0b8269a (patch)
treec72c7c0a44fa9d6c7c1dd80e1dd3f04c375a2f4b /newlib/libc/sys
parent2464ecbf64d1cd890fe52492b4ccf8ace348f9aa (diff)
2013-11-22 Chirayu Desai <chirayudesai1@gmail.com>
* libc/include/sys/unistd.h (readlink): Add restrict keyword. (readlinkat): Ditto. (swab): Ditto. * libc/sys/rdos/readlink.c (readlink): Ditto. * libc/string/swab.c (swab): Ditto.
Diffstat (limited to 'newlib/libc/sys')
-rwxr-xr-xnewlib/libc/sys/rdos/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/rdos/readlink.c b/newlib/libc/sys/rdos/readlink.c
index 932051ea3..9922f4401 100755
--- a/newlib/libc/sys/rdos/readlink.c
+++ b/newlib/libc/sys/rdos/readlink.c
@@ -4,7 +4,7 @@
#include <errno.h>
#include <sys/types.h>
-int readlink(const char *path, char *buf, size_t bufsize)
+int readlink(const char *__restrict path, char *__restrict buf, size_t bufsize)
{
errno = ENOSYS;
return -1;