summaryrefslogtreecommitdiff
path: root/src/common/showmsg.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-24 05:11:00 +0200
committerHaru <haru@dotalux.com>2018-07-01 21:09:25 +0200
commit2e89d5b2824801ed49c62db9f6743f32593018bc (patch)
tree5659b4d335b9d4f707506c76f025eaf1d5cfb6e3 /src/common/showmsg.c
parent8dd7aec896efc0220d6234bcfb190767c30dbb29 (diff)
downloadhercules-2e89d5b2824801ed49c62db9f6743f32593018bc.tar.gz
hercules-2e89d5b2824801ed49c62db9f6743f32593018bc.tar.bz2
hercules-2e89d5b2824801ed49c62db9f6743f32593018bc.tar.xz
hercules-2e89d5b2824801ed49c62db9f6743f32593018bc.zip
Fix some warnings caused by static functions defined and unused
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/showmsg.c')
-rw-r--r--src/common/showmsg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/showmsg.c b/src/common/showmsg.c
index 91f84e9d3..32d1e7610 100644
--- a/src/common/showmsg.c
+++ b/src/common/showmsg.c
@@ -739,6 +739,7 @@ static void showmsg_clearScreen(void)
#endif
}
+#if 0 // Unused
static int ShowMessage_(enum msg_type flag, const char *string, ...) __attribute__((format(printf, 2, 3)));
static int ShowMessage_(enum msg_type flag, const char *string, ...)
{
@@ -749,6 +750,7 @@ static int ShowMessage_(enum msg_type flag, const char *string, ...)
va_end(ap);
return ret;
}
+#endif // Unused
// direct printf replacement
static void showmsg_showMessage(const char *string, ...) __attribute__((format(printf, 1, 2)));