rockchip: Remove ARCH= references from documentation
[oweals/u-boot.git] / cmd / setexpr.c
index 1a6cecdedacd2a44130c49b63f5adf8ea26780b3..770dc24d2b7a32579a05c8aed36b40bc234252b6 100644 (file)
@@ -11,6 +11,8 @@
 #include <common.h>
 #include <config.h>
 #include <command.h>
+#include <env.h>
+#include <log.h>
 #include <mapmem.h>
 
 static ulong get_arg(char *s, int w)
@@ -289,7 +291,8 @@ static int regex_sub(const char *name,
 }
 #endif
 
-static int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_setexpr(struct cmd_tbl *cmdtp, int flag, int argc,
+                     char *const argv[])
 {
        ulong a, b;
        ulong value;