diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-11-26 17:27:25 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-11-26 17:27:25 +0000 |
commit | a50f8f5973205d2eb3d9ebbb0965c7804d7f2736 (patch) | |
tree | ce65deb940796dc65cd0d95204939000deeeb9a5 /winsup/cygwin | |
parent | db026d86d8f1510a44807dc3b0ef4e63272d3e07 (diff) | |
download | newlib-a50f8f5973205d2eb3d9ebbb0965c7804d7f2736.zip newlib-a50f8f5973205d2eb3d9ebbb0965c7804d7f2736.tar.gz newlib-a50f8f5973205d2eb3d9ebbb0965c7804d7f2736.tar.bz2 |
* nlsfuncs.cc (wcscoll): Add "__restrict" to definition.
(wcsxfrm): Ditto.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/nlsfuncs.cc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index adc1c1b..0733418 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2013-11-26 Corinna Vinschen <corinna@vinschen.de> + * nlsfuncs.cc (wcscoll): Add "__restrict" to definition. + (wcsxfrm): Ditto. + +2013-11-26 Corinna Vinschen <corinna@vinschen.de> + * common.din: Export posix_spawn[...] functions. * exec.cc (execve): Add EXPORT_ALIAS _execve. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index d059498..f7031f9 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; |