summaryrefslogtreecommitdiff
path: root/test/log/log_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/log/log_test.c')
-rw-r--r--test/log/log_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/log/log_test.c b/test/log/log_test.c
index febc2c1252a..4245372d65f 100644
--- a/test/log/log_test.c
+++ b/test/log/log_test.c
@@ -7,6 +7,8 @@
*/
#include <common.h>
+#include <command.h>
+#include <log.h>
/* emit some sample log records in different ways, for testing */
static int log_run(enum uclass_id cat, const char *file)
@@ -200,7 +202,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;