Remove __restrict quals from wmemcmp prototype.
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Mar 2011 18:04:08 +0000 (13:04 -0500)
committerUlrich Drepper <drepper@gmail.com>
Thu, 10 Mar 2011 18:04:08 +0000 (13:04 -0500)
ChangeLog
wcsmbs/wchar.h

index 0de681e..72d1d03 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
+
 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
 
        [BZ #12510]
index 5f341f3..fdcfdd6 100644 (file)
@@ -319,8 +319,7 @@ extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n)
 #endif
 
 /* Compare N wide characters of S1 and S2.  */
-extern int wmemcmp (__const wchar_t *__restrict __s1,
-                   __const wchar_t *__restrict __s2, size_t __n)
+extern int wmemcmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
      __THROW __attribute_pure__;
 
 /* Copy N wide characters of SRC to DEST.  */