From 4d72caa5b96b71e49b63f98bd8548b194380b544 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:01 -0600 Subject: common: Drop image.h from common header Move this uncommon header out of the common header. Signed-off-by: Simon Glass --- test/compression.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test/compression.c') diff --git a/test/compression.c b/test/compression.c index 63f929fa4bd..bceb2c273c7 100644 --- a/test/compression.c +++ b/test/compression.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3 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 --- test/compression.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/compression.c') diff --git a/test/compression.c b/test/compression.c index bceb2c273c7..0b57b7bb406 100644 --- a/test/compression.c +++ b/test/compression.c @@ -535,7 +535,8 @@ static int compression_test_bootm_none(struct unit_test_state *uts) } COMPRESSION_TEST(compression_test_bootm_none, 0); -int do_ut_compression(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +int do_ut_compression(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { struct unit_test *tests = ll_entry_start(struct unit_test, compression_test); -- cgit v1.2.3 From f7ae49fc4f363a803dab3be078e93ead8e75a8e9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:05 -0600 Subject: common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass --- test/compression.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test/compression.c') diff --git a/test/compression.c b/test/compression.c index 0b57b7bb406..ad719ddb4d6 100644 --- a/test/compression.c +++ b/test/compression.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3