summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/nlsfuncs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/nlsfuncs.cc')
-rw-r--r--winsup/cygwin/nlsfuncs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc
index 297e798b6..d059498d1 100644
--- a/winsup/cygwin/nlsfuncs.cc
+++ b/winsup/cygwin/nlsfuncs.cc
@@ -1163,7 +1163,7 @@ wcscoll (const wchar_t *ws1, const wchar_t *ws2)
}
extern "C" int
-strcoll (const char *s1, const char *s2)
+strcoll (const char *__restrict s1, const char *__restrict s2)
{
size_t n1, n2;
wchar_t *ws1, *ws2;
@@ -1230,7 +1230,7 @@ wcsxfrm (wchar_t *ws1, const wchar_t *ws2, size_t wsn)
}
extern "C" size_t
-strxfrm (char *s1, const char *s2, size_t sn)
+strxfrm (char *__restrict s1, const char *__restrict s2, size_t sn)
{
size_t ret;
size_t n2;