[PATCH] commands: magicvar: make locally used magicvar_find() static

Sascha Hauer s.hauer at pengutronix.de
Wed Feb 24 10:04:25 PST 2016


On Tue, Feb 23, 2016 at 11:19:47PM +0300, Antony Pavlov wrote:
> The patch fixes this compiler's warning:
> 
>     commands/magicvar.c:27:22: warning: no previous prototype for 'magicvar_find' [-Wmissing-prototypes]
>      struct magicvar_dyn *magicvar_find(const char *name)
>                           ^
> 
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  commands/magicvar.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list