[PATCH 16/30] include: <linux/nls.h>: remove duplicate wchar_t typedef

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We already define it in <linux/stddef.h> as typedef of an unsigned
short.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 include/linux/nls.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/nls.h b/include/linux/nls.h
index 62fb7b5a970b..ee0e1ffd5888 100644
--- a/include/linux/nls.h
+++ b/include/linux/nls.h
@@ -2,6 +2,8 @@
 #ifndef _LINUX_NLS_H
 #define _LINUX_NLS_H
 
+#include <linux/stddef.h>
+
 /* Unicode has changed over the years.  Unicode code points no longer
  * fit into 16 bits; as of Unicode 5 valid code points range from 0
  * to 0x10ffff (17 planes, where each plane holds 65536 code points).
@@ -14,7 +16,6 @@
  */
 
 /* Plane-0 Unicode character */
-typedef u16 wchar_t;
 #define MAX_WCHAR_T	0xffff
 
 /* Arbitrary Unicode character */
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux