command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / cmd / misc.c
index a1eef72a6c2eb7f2ff4603b074d7dd55fe8d143f..d33219308b771b562946f78f30400513c756e792 100644 (file)
@@ -11,7 +11,8 @@
 #include <command.h>
 #include <console.h>
 
-static int do_sleep(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_sleep(struct cmd_tbl *cmdtp, int flag, int argc,
+                   char *const argv[])
 {
        ulong start = get_timer(0);
        ulong mdelay = 0;
@@ -58,7 +59,8 @@ U_BOOT_CMD(
 );
 
 #ifdef CONFIG_CMD_TIMER
-static int do_timer(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_timer(struct cmd_tbl *cmdtp, int flag, int argc,
+                   char *const argv[])
 {
        static ulong start;