diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:46:45 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | b9ca02c2d554cb46a4579e1382561c529820b494 (patch) | |
tree | 92170560516fc8fb611e854922e396bc6f4cf331 /examples/api | |
parent | 3f989e7b0e43402d0a50e19939e4f57374319734 (diff) | |
download | u-boot-b9ca02c2d554cb46a4579e1382561c529820b494.zip u-boot-b9ca02c2d554cb46a4579e1382561c529820b494.tar.gz u-boot-b9ca02c2d554cb46a4579e1382561c529820b494.tar.bz2 |
env: Move envmatch() to env.h
Move envmatch() over to the new header file. Also rename it to env_match()
to better line up with other functions.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'examples/api')
-rw-r--r-- | examples/api/glue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/api/glue.c b/examples/api/glue.c index 9c8ed8d..4086616 100644 --- a/examples/api/glue.c +++ b/examples/api/glue.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <env.h> #include <linux/types.h> #include <api_public.h> @@ -365,7 +366,7 @@ const char * ub_env_enum(const char *last) /* * It's OK to pass only the name piece as last (and not the whole - * 'name=val' string), since the API_ENUM_ENV call uses envmatch() + * 'name=val' string), since the API_ENUM_ENV call uses env_match() * internally, which handles such case */ if (!syscall(API_ENV_ENUM, NULL, last, &env)) |