Use __typeof instead of typeof

This commit is contained in:
Andreas Schwab 2016-06-04 09:16:12 +02:00
parent cda672e7bd
commit 6b4a158ef4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
* include/wchar.h (__wmemset): Use __typeof.
2016-06-03 Carlos O'Donell <carlos@redhat.com>
* include/wchar.h (__wmemset): Declare function without typeof.

View File

@ -102,7 +102,7 @@ extern int __wcscoll (const wchar_t *__s1, const wchar_t *__s2) __THROW;
libc_hidden_proto (__wcscoll)
libc_hidden_proto (wcspbrk)
extern wchar_t *__wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
extern __typeof (wmemset) __wmemset;
extern wchar_t *__wmemchr (const wchar_t *__s, wchar_t __c, size_t __n)
__THROW __attribute_pure__;
libc_hidden_proto (wmemchr)