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

(strxfrm): Ditto.
This commit is contained in:
Corinna Vinschen 2013-11-26 17:08:56 +00:00
parent 6221252b5e
commit d12e1c0670
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 (strcoll): Add "__restrict" to definition.
(strxfrm): Ditto.
2013-11-25 Corinna Vinschen <corinna@vinschen.de> 2013-11-25 Corinna Vinschen <corinna@vinschen.de>
Throughout, keep function definitions and declarations in sync with Throughout, keep function definitions and declarations in sync with

View File

@ -1163,7 +1163,7 @@ wcscoll (const wchar_t *ws1, const wchar_t *ws2)
} }
extern "C" int extern "C" int
strcoll (const char *s1, const char *s2) strcoll (const char *__restrict s1, const char *__restrict s2)
{ {
size_t n1, n2; size_t n1, n2;
wchar_t *ws1, *ws2; wchar_t *ws1, *ws2;
@ -1230,7 +1230,7 @@ wcsxfrm (wchar_t *ws1, const wchar_t *ws2, size_t wsn)
} }
extern "C" size_t 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 ret;
size_t n2; size_t n2;