From d9c45936db19c0ec1452f703aee23ae567b275ab Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 20 Jan 2010 19:43:54 +0000 Subject: type cleanup --- src/posix/signalHandler.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/posix') diff --git a/src/posix/signalHandler.hpp b/src/posix/signalHandler.hpp index 2b4f8f6..8b3494e 100644 --- a/src/posix/signalHandler.hpp +++ b/src/posix/signalHandler.hpp @@ -37,37 +37,37 @@ #include #include -int SigIntHandler(const SigNum& /*sig*/, const std::string& /*msg*/) +int SigIntHandler(int /*sig*/, const std::string& /*msg*/) { cLog.msg(Log::PRIO_NOTICE) << "SIG-Int caught, exiting"; return 1; } -int SigQuitHandler(const SigNum& /*sig*/, const std::string& /*msg*/) +int SigQuitHandler(int /*sig*/, const std::string& /*msg*/) { cLog.msg(Log::PRIO_NOTICE) << "SIG-Quit caught, exiting"; return 1; } -int SigHupHandler(const SigNum& /*sig*/, const std::string& /*msg*/) +int SigHupHandler(int /*sig*/, const std::string& /*msg*/) { cLog.msg(Log::PRIO_NOTICE) << "SIG-Hup caught"; return 0; } -int SigTermHandler(const SigNum& /*sig*/, const std::string& /*msg*/) +int SigTermHandler(int /*sig*/, const std::string& /*msg*/) { cLog.msg(Log::PRIO_NOTICE) << "SIG-Term caught, exiting"; return 1; } -int SigUsr1Handler(const SigNum& /*sig*/, const std::string& /*msg*/) +int SigUsr1Handler(int /*sig*/, const std::string& /*msg*/) { cLog.msg(Log::PRIO_NOTICE) << "SIG-Usr1 caught"; return 0; } -int SigUsr2Handler(const SigNum& /*sig*/, const std::string& /*msg*/) +int SigUsr2Handler(int /*sig*/, const std::string& /*msg*/) { cLog.msg(Log::PRIO_NOTICE) << "SIG-Usr2 caught"; return 0; -- cgit v1.2.3