command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / cmd / date.c
index 7fa950a902682093bf8d694840c1d740b1c03e11..75a032cd2777d609b4cff5df243ec62c20f7dd2a 100644 (file)
@@ -29,7 +29,8 @@ int mk_date (const char *, struct rtc_time *);
 
 static struct rtc_time default_tm = { 0, 0, 0, 1, 1, 2000, 6, 0, 0 };
 
-static int do_date(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_date(struct cmd_tbl *cmdtp, int flag, int argc,
+                  char *const argv[])
 {
        struct rtc_time tm;
        int rcode = 0;