command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / test / log / log_test.c
index febc2c1252a2301a5b0d9c68332c95d0c444eda8..d29b559410fbdc0658caa9e717680c88765a089f 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 
 /* emit some sample log records in different ways, for testing */
 static int log_run(enum uclass_id cat, const char *file)
@@ -200,7 +201,7 @@ static int log_test(int testnum)
 }
 
 #ifdef CONFIG_LOG_TEST
-int do_log_test(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
+int do_log_test(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        int testnum = 0;
        int ret;