From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 19 May 2020 13:33:06 -0400 Subject: [PATCH v3 12/22] command: Remove the cmd_tbl_t typedef In-Reply-To: <20200510113946.v3.12.I125b806669195c049161db769507356be46c47f7@changeid> References: <20200510174013.145466-1-sjg@chromium.org> <20200510113946.v3.12.I125b806669195c049161db769507356be46c47f7@changeid> Message-ID: <20200519173306.GA14425@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: