[PATCH v3 12/22] command: Remove the cmd_tbl_t typedef

Tom Rini trini at konsulko.com
Tue May 19 19:33:06 CEST 2020


On Sun, May 10, 2020 at 11:40:03AM -0600, Simon Glass wrote:

> We should not use typedefs in U-Boot. They cannot be used as forward
> declarations which means that header files must include the full header to
> access them.
> 
> Drop the typedef and rename the struct to remove the _s suffix which is
> now not useful.
> 
> This requires quite a few header-file additions.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/c20efcc0/attachment.sig>


More information about the U-Boot mailing list