summaryrefslogtreecommitdiff
path: root/src/console/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/init.c')
-rw-r--r--src/console/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/console/init.c b/src/console/init.c
index 6fa48498a8..a2ceb58018 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -13,8 +13,7 @@
static int console_inited;
static int console_loglevel;
-int get_log_level(void);
-int get_log_level(void)
+static inline int get_log_level(void)
{
if (console_inited == 0)
return -1;