summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-07-10 18:24:50 +0200
committerHaru <haru@dotalux.com>2014-07-11 08:48:11 +0200
commit46aa529396625efebdd637f540e9e104059866b6 (patch)
tree00bfc36e90ac8a14cb7ed3a699d6b0c056eb1a4f /src/common/core.c
parentbe75198abbd8420d25e67ee5d714422cf6c488db (diff)
downloadhercules-46aa529396625efebdd637f540e9e104059866b6.tar.gz
hercules-46aa529396625efebdd637f540e9e104059866b6.tar.bz2
hercules-46aa529396625efebdd637f540e9e104059866b6.tar.xz
hercules-46aa529396625efebdd637f540e9e104059866b6.zip
Explicitly specify 'void' when a function expects no arguments
- See CERT DCL20-C. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 28c84e2cf..99dbc36ec 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -99,7 +99,7 @@ static BOOL WINAPI console_handler(DWORD c_event) {
return TRUE;
}
-static void cevents_init() {
+static void cevents_init(void) {
if (SetConsoleCtrlHandler(console_handler,TRUE)==FALSE)
ShowWarning ("Unable to install the console handler!\n");
}