Skip to contentSkip to conversation

common: remove duplicate typedef for uchar

PATCH New Heinrich Schuchardt 3 participants 3 messages Dec 10, 2019 – Dec 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common: remove duplicate typedef for uchar

With commit 37db55b7e9db ("linux/types.h: fix typo unchar") we have a duplicate typedef for uchar. As linux/types.h is included in common.h we don't need another typedef for uchar there.

Fixes 37db55b7e9db ("linux/types.h: fix typo unchar")
---
 include/common.h | 1 -
 1 file changed, 1 deletion(-)
include/common.h +0 -1
index 8b37b58747..52c02185f4 100644
@@ -15,7 +15,6 @@
 
 #ifndef __ASSEMBLY__		/* put C only stuff in this section */
 
-typedef unsigned char		uchar;
 typedef volatile unsigned long	vu_long;
 typedef volatile unsigned short vu_short;
 typedef volatile unsigned char	vu_char;

--
2.24.0

#2 lore raw

PATCH 1/1 common: remove duplicate typedef for uchar

In reply to Heinrich Schuchardt
Quoted 7 lines · Heinrich Schuchardt

With commit 37db55b7e9db ("linux/types.h: fix typo unchar") we have a duplicate typedef for uchar. As linux/types.h is included in common.h we don't need another typedef for uchar there.

Fixes 37db55b7e9db ("linux/types.h: fix typo unchar")

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191213/fe90acb8/attachment.sig>