[PATCH 4/5] globalvar: Add missing empty prototype for globalvar_set()
Alexander Shiyan
eagle.alexander923 at gmail.com
Tue May 31 23:02:25 PDT 2022
common/fastboot.c: In function 'cb_boot':
common/fastboot.c:396:2: error: implicit declaration of function 'globalvar_set'
globalvar_set("bootm.image", "");
Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
---
include/globalvar.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/globalvar.h b/include/globalvar.h
index 476bb920f3..ff1da6c927 100644
--- a/include/globalvar.h
+++ b/include/globalvar.h
@@ -101,6 +101,8 @@ static inline char *globalvar_get_match(const char *match, const char *separator
static inline void globalvar_set_match(const char *match, const char *val) {}
+static inline void globalvar_set(const char *name, const char *val) {}
+
static inline int nvvar_load(void)
{
return 0;
--
2.32.0
More information about the barebox
mailing list