From 9b8e0f5b12231d9983b1af9da156e84f4ef26fb0 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 22 Nov 2021 09:47:18 +0100 Subject: include: : remove duplicate wchar_t typedef We already define it in as typedef of an unsigned short. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20211122084732.2597109-17-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- include/linux/nls.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 + /* 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 */ -- cgit v1.2.3