summaryrefslogtreecommitdiff
path: root/src/win32/signalHandler.hpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-01-20 19:43:54 +0000
committerChristian Pointner <equinox@anytun.org>2010-01-20 19:43:54 +0000
commitd9c45936db19c0ec1452f703aee23ae567b275ab (patch)
treef962392758e738d544031992ef385dbb5ce5db40 /src/win32/signalHandler.hpp
parentcleanup (diff)
type cleanup
Diffstat (limited to 'src/win32/signalHandler.hpp')
-rw-r--r--src/win32/signalHandler.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/win32/signalHandler.hpp b/src/win32/signalHandler.hpp
index aeafcb4..fb0c7e6 100644
--- a/src/win32/signalHandler.hpp
+++ b/src/win32/signalHandler.hpp
@@ -35,31 +35,31 @@
#include <windows.h>
-int CtrlCHandler(const SigNum& /*sig*/, const std::string& /*msg*/)
+int CtrlCHandler(int /*sig*/, const std::string& /*msg*/)
{
cLog.msg(Log::PRIO_NOTICE) << "CTRL-C Event received, exitting";
return 1;
}
-int CtrlBreakHandler(const SigNum& /*sig*/, const std::string& /*msg*/)
+int CtrlBreakHandler(int /*sig*/, const std::string& /*msg*/)
{
cLog.msg(Log::PRIO_NOTICE) << "CTRL-Break Event received, ignoring";
return 0;
}
-int CtrlCloseHandler(const SigNum& /*sig*/, const std::string& /*msg*/)
+int CtrlCloseHandler(int /*sig*/, const std::string& /*msg*/)
{
cLog.msg(Log::PRIO_NOTICE) << "Close Event received, exitting";
return 1;
}
-int CtrlLogoffHandler(const SigNum& /*sig*/, const std::string& /*msg*/)
+int CtrlLogoffHandler(int /*sig*/, const std::string& /*msg*/)
{
cLog.msg(Log::PRIO_NOTICE) << "LogOff Event received, exitting";
return 1;
}
-int CtrlShutdownHandler(const SigNum& /*sig*/, const std::string& /*msg*/)
+int CtrlShutdownHandler(int /*sig*/, const std::string& /*msg*/)
{
cLog.msg(Log::PRIO_NOTICE) << "Shutdown Event received, exitting";
return 1;