command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / examples / api / libgenwrap.c
index 769dcc7038523b464c6ff0aa0a2b430f042a53cf..51d6273a9302d034a323eb7ec55ef4f217c0d653 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 #include <hang.h>
 #include <linux/types.h>
 #include <api_public.h>
@@ -31,7 +32,7 @@ void __udelay(unsigned long usec)
        ub_udelay(usec);
 }
 
-int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        ub_reset();
        return 0;