From 43cb65b7a00e4759427a6e4b8a02039e43dab5a5 Mon Sep 17 00:00:00 2001 From: Andreas Fenkart Date: Fri, 25 Mar 2016 14:52:19 +0100 Subject: tools: env: bug: config structs must be defined in tools library fw_senten/fw_printenv can be compiled as a tools library, excluding the fw_env_main object. Reported-by: Stefano Babic Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/env/fw_env.c') diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 5c7505c..1420ac5 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -35,6 +35,10 @@ #include "fw_env.h" +struct common_args common_args; +struct printenv_args printenv_args; +struct setenv_args setenv_args; + #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) #define min(x, y) ({ \ -- cgit v1.1