Use __typeof instead of typeof
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 4 Jun 2016 07:16:12 +0000 (09:16 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 4 Jun 2016 07:19:09 +0000 (09:19 +0200)
ChangeLog
include/wchar.h

index fac360e..adc53d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 96b0438..6272130 100644 (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)