X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Fsetexpr.c;h=770dc24d2b7a32579a05c8aed36b40bc234252b6;hb=a61cf765f7e3a4ba80453150e16acaaecbd913ac;hp=af210225f1438727e846a17ccaa88f60b10f0372;hpb=390194d43fa4478ddb638164ddb114c979f3e57a;p=oweals%2Fu-boot.git diff --git a/cmd/setexpr.c b/cmd/setexpr.c index af210225f1..770dc24d2b 100644 --- a/cmd/setexpr.c +++ b/cmd/setexpr.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2008 Freescale Semiconductor, Inc. * Copyright 2013 Wolfgang Denk - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -12,6 +11,8 @@ #include #include #include +#include +#include #include static ulong get_arg(char *s, int w) @@ -290,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;