Add missing restrict in mbrtowc declaration

This commit is contained in:
Ulrich Drepper 2011-12-24 04:32:49 -05:00
parent ce5294e268
commit dadebdaeeb
2 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,10 @@
* posix/regex_internal.c (re_string_fetch_byte_case): Remove
pure attribute.
2011-12-24 Ulrich Drepper <drepper@gmail.com>
* wcsmbs/wchar.h: Add missing __restrict.
2011-12-23 Ulrich Drepper <drepper@gmail.com>
[BZ #13532]

View File

@ -361,7 +361,7 @@ extern int mbsinit (__const mbstate_t *__ps) __THROW __attribute_pure__;
to by S to PWC. */
extern size_t mbrtowc (wchar_t *__restrict __pwc,
__const char *__restrict __s, size_t __n,
mbstate_t *__p) __THROW;
mbstate_t *__restrict __p) __THROW;
/* Write multibyte representation of wide character WC to S. */
extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,