From 09140113108541b95d340f3c7b6ee597d31ccc73 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:03 -0600 Subject: command: Remove the cmd_tbl_t typedef 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 --- cmd/itest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/itest.c') diff --git a/cmd/itest.c b/cmd/itest.c index e21e1f1..a0cf4be 100644 --- a/cmd/itest.c +++ b/cmd/itest.c @@ -175,7 +175,8 @@ static int binary_test(char *op, char *arg1, char *arg2, int w) } /* command line interface to the shell test */ -static int do_itest(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_itest(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { int value, w; -- cgit v1.1