diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-07 08:01:06 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-07 08:01:06 -0600 |
commit | 7e2938beabac24e6c8baad33e254b2383dbe9490 (patch) | |
tree | dbefd5a48f5b034108c6b5b7c2138430539622b2 /cmd/setexpr.c | |
parent | 52835266d3e933656a217233eaf672dd9ccd7352 (diff) | |
parent | 47558a4fce629390133bc6f410a942f109165efd (diff) |
Merge branch '2024-05-06-remove-include-common_h' into next
- Merge the four series that I made to finally remove include/common.h.
For the most part, this is just removing <common.h> entirely. In a few
cases we needed to add <linux/types.h> or <time.h>. In the case of
PowerPC related code, we instead need to bring in <asm/ppc.h>.
Diffstat (limited to 'cmd/setexpr.c')
-rw-r--r-- | cmd/setexpr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/setexpr.c b/cmd/setexpr.c index ab76824a32b..e111b8ba98a 100644 --- a/cmd/setexpr.c +++ b/cmd/setexpr.c @@ -8,7 +8,6 @@ * This file provides a shell like 'expr' function to return. */ -#include <common.h> #include <config.h> #include <command.h> #include <ctype.h> @@ -16,6 +15,8 @@ #include <log.h> #include <malloc.h> #include <mapmem.h> +#include <vsprintf.h> +#include <linux/errno.h> #include <linux/sizes.h> #include "printf.h" |