diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-05-19 19:37:11 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-26 14:21:48 +0200 |
commit | 2a2c08f0179617493582b44b498ed7da1c7ea85b (patch) | |
tree | 1a61e6a6148b8241448efe64099b36fd50773f6f /include | |
parent | acfe5a4fec06be1d67e01b07cdd7e703fe3a2278 (diff) | |
download | barebox-2a2c08f0179617493582b44b498ed7da1c7ea85b.tar.gz barebox-2a2c08f0179617493582b44b498ed7da1c7ea85b.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/habv4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/habv4.h b/include/habv4.h index fb6ed99d82..f9bf74f3b9 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; } |