From: Alexander Shiyan <eagle.alexander923@gmail.com> To: barebox@lists.infradead.org Cc: Alexander Shiyan <eagle.alexander923@gmail.com> Subject: [PATCH 4/5] globalvar: Add missing empty prototype for globalvar_set() Date: Wed, 1 Jun 2022 09:02:25 +0300 [thread overview] Message-ID: <20220601060226.3756-5-eagle.alexander923@gmail.com> (raw) In-Reply-To: <20220601060226.3756-1-eagle.alexander923@gmail.com> 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@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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2022-06-01 6:04 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-01 6:02 [PATCH 0/5] Misc fixes Alexander Shiyan 2022-06-01 6:02 ` [PATCH 1/5] ARM: at91sam9n12ek: Use xz compression Alexander Shiyan 2022-06-01 6:02 ` [PATCH 2/5] ARM: boards: Fix unconditional compilation of imx51-babbage directory Alexander Shiyan 2022-06-02 6:47 ` Sascha Hauer 2022-06-02 6:51 ` Ahmad Fatoum 2022-06-01 6:02 ` [PATCH 3/5] drivers: soc: Fix unconditional compilation of imx directory Alexander Shiyan 2022-06-01 6:02 ` Alexander Shiyan [this message] 2022-06-01 6:02 ` [PATCH 5/5] of: Fix of_prepend_machine_compatible() defined but unused warning Alexander Shiyan 2022-06-02 6:54 ` [PATCH 0/5] Misc fixes Sascha Hauer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220601060226.3756-5-eagle.alexander923@gmail.com \ --to=eagle.alexander923@gmail.com \ --cc=barebox@lists.infradead.org \ --subject='Re: [PATCH 4/5] globalvar: Add missing empty prototype for globalvar_set()' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox