[PATCH 03/15] efi: types: define efi_char16_t as wchar_t

Ahmad Fatoum a.fatoum at barebox.org
Tue May 27 14:22:48 PDT 2025


From: Ahmad Fatoum <a.fatoum at pengutronix.de>

We are using wchar_t internally for 16-bit wide strings, so let's align
efi_char16_t with that.

No functional change expected.

Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 include/efi/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/efi/types.h b/include/efi/types.h
index 3309820416be..ddd8dd7bcb62 100644
--- a/include/efi/types.h
+++ b/include/efi/types.h
@@ -7,7 +7,7 @@
 #include <linux/uuid.h>
 
 typedef unsigned long efi_status_t;
-typedef u16 efi_char16_t;		/* UNICODE character */
+typedef wchar_t efi_char16_t;		/* UNICODE character */
 typedef u64 efi_physical_addr_t;
 
 struct efi_object;
-- 
2.39.5




More information about the barebox mailing list