env: Drop the ACTION typedef
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:47:09 +0000 (09:47 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
commit3f0d6807459bb22431e5bc19e597c1786b3d1ce6
tree4d24e8d74ccea7c9577566d45d94635518a1195a
parentd3716dd64bb8bb4c4ba2d19bac164d24ada72a68
env: Drop the ACTION typedef

Avoid using a typedef here which is unnecessary. Add an 'env_' prefix to
both the enum and its members to make it clear that these are related to
the environment.

Add an ENV prefix to these two flags so that it is clear what they relate
to. Also move them to env.h since they are part of the public API. Use an
enum rather than a #define to tie them together.

Signed-off-by: Simon Glass <sjg@chromium.org>
api/api.c
cmd/nvedit.c
drivers/tee/sandbox.c
env/callback.c
env/flags.c
include/search.h
lib/hashtable.c
test/env/hashtable.c