diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-11-26 21:27:25 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-11-26 21:27:25 +0400 |
commit | a50f8f5973205d2eb3d9ebbb0965c7804d7f2736 (patch) | |
tree | ce65deb940796dc65cd0d95204939000deeeb9a5 /winsup/cygwin/nlsfuncs.cc | |
parent | db026d86d8f1510a44807dc3b0ef4e63272d3e07 (diff) |
* nlsfuncs.cc (wcscoll): Add "__restrict" to definition.
(wcsxfrm): Ditto.
Diffstat (limited to 'winsup/cygwin/nlsfuncs.cc')
-rw-r--r-- | winsup/cygwin/nlsfuncs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index d059498d1..f7031f92e 100644 --- a/winsup/cygwin/nlsfuncs.cc +++ b/winsup/cygwin/nlsfuncs.cc @@ -1150,7 +1150,7 @@ __get_current_collate_codeset (void) transformation. The advantage is that we don't need any files with collation information. */ extern "C" int -wcscoll (const wchar_t *ws1, const wchar_t *ws2) +wcscoll (const wchar_t *__restrict ws1, const wchar_t *__restrict ws2) { int ret; @@ -1204,7 +1204,7 @@ __collate_range_cmp (int c1, int c2) } extern "C" size_t -wcsxfrm (wchar_t *ws1, const wchar_t *ws2, size_t wsn) +wcsxfrm (wchar_t *__restrict ws1, const wchar_t *__restrict ws2, size_t wsn) { size_t ret; |