Skip to content

Commit

Permalink
Remove __restrict quals from wmemcmp prototype.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Jelinek authored and Ulrich Drepper committed Mar 10, 2011
1 parent f6ce0f9 commit c6e1302
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
3 changes: 1 addition & 2 deletions wcsmbs/wchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit c6e1302

Please sign in to comment.