about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2016-06-04 09:16:12 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2016-06-04 09:19:09 +0200
commit6b4a158ef4af898f528243a54ad11807b5db2d79 (patch)
tree4f64c146dd2121af4c5e5795ce8357b5de50f048
parentcda672e7bd2e2d11bae1e4bf5d2dd4532a610ebd (diff)
downloadglibc-6b4a158ef4af898f528243a54ad11807b5db2d79.tar.gz
glibc-6b4a158ef4af898f528243a54ad11807b5db2d79.tar.xz
glibc-6b4a158ef4af898f528243a54ad11807b5db2d79.zip
Use __typeof instead of typeof
-rw-r--r--ChangeLog4
-rw-r--r--include/wchar.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fac360e464..adc53d1515 100644
--- 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.
diff --git a/include/wchar.h b/include/wchar.h
index 96b0438c4f..6272130e24 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -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)