[PATCH] habv4: habv4_get_status(): fix warning with no-op static inline function

Sascha Hauer s.hauer at pengutronix.de
Tue May 19 23:11:12 PDT 2015


On Tue, May 19, 2015 at 07:37:11PM +0200, Marc Kleine-Budde wrote:
> This patch fixes the following warning:
> 
>   CC      arch/arm/boards/foo/board.o
>   In file included from arch/arm/boards/foo/board.c:22:0:
>   include/habv4.h:24:19: warning: function declaration isn't a prototype [-Wstrict-prototypes]
>    static inline int habv4_get_status()
>                       ^
> 
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
>  include/habv4.h | 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