9
0
Fork 0

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 <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2015-05-19 19:37:11 +02:00
parent 5bd9b2566d
commit 680fa68f10
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}