* nlsfuncs.cc (strcoll): Add "__restrict" to definition.
(strxfrm): Ditto.
This commit is contained in:
parent
6221252b5e
commit
d12e1c0670
|
@ -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>
|
||||
|
||||
Throughout, keep function definitions and declarations in sync with
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue