From 680fa68f10b2ece7bff2aa833e721b68122e93b7 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Tue, 19 May 2015 19:37:11 +0200 Subject: [PATCH] habv4: habv4_get_status(): fix warning with no-op static inline function 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 Signed-off-by: Sascha Hauer --- include/habv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/habv4.h b/include/habv4.h index fb6ed99d8..f9bf74f3b 100644 --- a/include/habv4.h +++ b/include/habv4.h @@ -21,7 +21,7 @@ #ifdef CONFIG_HABV4 int habv4_get_status(void); #else -static inline int habv4_get_status() +static inline int habv4_get_status(void) { return -EPERM; }