diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2010-02-16 19:17:43 +0000 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2010-02-16 19:17:43 +0000 |
commit | 9865b9fde2d675d974d6a0414a4ec084e1905b84 (patch) | |
tree | b54265a0e3225560701a01d3d82efe3333e9c70b /src/signalController.cpp | |
parent | cleaned up manpages (diff) |
fixed win32 build
Diffstat (limited to 'src/signalController.cpp')
-rw-r--r-- | src/signalController.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/signalController.cpp b/src/signalController.cpp index f20b695..6a20588 100644 --- a/src/signalController.cpp +++ b/src/signalController.cpp @@ -71,14 +71,7 @@ int SigErrorHandler(int /*sig*/, const std::string& msg) #endif #endif -void SignalController::init() -{ - DaemonService* service = NULL; - registerSignalHandler(*this, service); - handler[SIGERROR] = boost::bind(SigErrorHandler, _1, _2); -} - -void SignalController::init(DaemonService* service) +void SignalController::init(DaemonService& service) { registerSignalHandler(*this, service); handler[SIGERROR] = boost::bind(SigErrorHandler, _1, _2); |