[PATCH v1 1/1] cmd: nvedit: Mark a few functions static
Tom Rini
trini at konsulko.com
Thu Oct 24 22:42:57 CEST 2024
On Mon, 21 Oct 2024 16:56:33 +0300, Andy Shevchenko wrote:
> Some functions are not used anywhere except the same file
> where they are defined. Mark them static. This helps avoiding
> the compiler warnings:
>
> cmd/nvedit.c:201:5: warning: no previous prototype for ‘do_env_ask’ [-Wmissing-prototypes]
> cmd/nvedit.c:315:5: warning: no previous prototype for ‘do_env_callback’ [-Wmissing-prototypes]
> cmd/nvedit.c:384:5: warning: no previous prototype for ‘do_env_flags’ [-Wmissing-prototype ]
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list