about summary refs log tree commit diff
path: root/wcsmbs/wchar.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-24 04:32:49 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-01 07:17:21 -0500
commitdadebdaeeba87778cad0fb842f8e75bdd22a7043 (patch)
tree069f04cdf63c4a401080f154ee65a2bc18188550 /wcsmbs/wchar.h
parentce5294e268bf222af614a53689904eef69dff791 (diff)
downloadglibc-dadebdaeeba87778cad0fb842f8e75bdd22a7043.tar.gz
glibc-dadebdaeeba87778cad0fb842f8e75bdd22a7043.tar.xz
glibc-dadebdaeeba87778cad0fb842f8e75bdd22a7043.zip
Add missing restrict in mbrtowc declaration
Diffstat (limited to 'wcsmbs/wchar.h')
-rw-r--r--wcsmbs/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index 80d7ae2b5c..2b35f51ad6 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,