about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-03-10 13:04:08 -0500
committerPetr Baudis <pasky@suse.cz>2011-05-27 00:18:49 +0200
commit6a29825d63f8e6c429c4fe425c3a0ed70a3245cb (patch)
tree594d307195e331b6645cba5ec3bb4721a7c9a0f3
parent411a9d6b1de462394aabd2a5bf920fde140249ff (diff)
downloadglibc-6a29825d63f8e6c429c4fe425c3a0ed70a3245cb.tar.gz
glibc-6a29825d63f8e6c429c4fe425c3a0ed70a3245cb.tar.xz
glibc-6a29825d63f8e6c429c4fe425c3a0ed70a3245cb.zip
Remove __restrict quals from wmemcmp prototype.
(cherry picked from commit c6e13027abd4b9c2d694fb4d8b28ab8290ea5971)
-rw-r--r--ChangeLog4
-rw-r--r--wcsmbs/wchar.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 850d300713..7a71e6ca07 100644
--- 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]
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index fc2c6a4422..e64e8e25a3 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -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.  */