From dadebdaeeba87778cad0fb842f8e75bdd22a7043 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 24 Dec 2011 04:32:49 -0500 Subject: Add missing restrict in mbrtowc declaration --- wcsmbs/wchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcsmbs') diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index 80d7ae2..2b35f51 100644 --- a/wcsmbs/wchar.h +++ b/wcsmbs/wchar.h @@ -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, -- cgit v1.1