Re: [PATCH v1 1/1] cmd: nvedit: Mark a few functions static

2024-10-24 Thread Tom Rini
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-p

Re: [PATCH v1 1/1] cmd: nvedit: Mark a few functions static

2024-10-21 Thread Simon Glass
On Mon, 21 Oct 2024 at 15:56, 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-protot

[PATCH v1 1/1] cmd: nvedit: Mark a few functions static

2024-10-21 Thread Andy Shevchenko
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_