[PATCH 1/1] linux/types.h: fix typo unchar

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Dec 8 00:22:01 CET 2019


unsigned char should be called uchar and not unchar.

This fixes a build error in lib/crypto/x509_cert_parser.c.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 include/linux/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/types.h b/include/linux/types.h
index 51cb284bb8..bd912bcb42 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -85,7 +85,7 @@ typedef unsigned int		u_int;
 typedef unsigned long		u_long;

 /* sysv */
-typedef unsigned char		unchar;
+typedef unsigned char		uchar;
 typedef unsigned short		ushort;
 typedef unsigned int		uint;
 typedef unsigned long		ulong;
--
2.20.1



More information about the U-Boot mailing list