* nlsfuncs.cc (wcscoll): Add "__restrict" to definition.

(wcsxfrm): Ditto.
This commit is contained in:
Corinna Vinschen 2013-11-26 17:27:25 +00:00
parent db026d86d8
commit a50f8f5973
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;