summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-11-22 09:47:18 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-25 08:43:59 +0100
commit9b8e0f5b12231d9983b1af9da156e84f4ef26fb0 (patch)
tree8ef08b35552f2a112521f3a4eb1ba0c2ac38d4c4
parente8aed0999553808465d96a1dda5e48679658a4ab (diff)
downloadbarebox-9b8e0f5b12231d9983b1af9da156e84f4ef26fb0.tar.gz
barebox-9b8e0f5b12231d9983b1af9da156e84f4ef26fb0.tar.xz
include: <linux/nls.h>: remove duplicate wchar_t typedef
We already define it in <linux/stddef.h> as typedef of an unsigned short. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211122084732.2597109-17-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/linux/nls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nls.h b/include/linux/nls.h
index 62fb7b5a97..ee0e1ffd58 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 */