aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/SignalHandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/SignalHandler.cc')
-rw-r--r--src/FbTk/SignalHandler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/SignalHandler.cc b/src/FbTk/SignalHandler.cc
index 26f1c6e..a8b4192 100644
--- a/src/FbTk/SignalHandler.cc
+++ b/src/FbTk/SignalHandler.cc
@@ -62,10 +62,12 @@ bool SignalHandler::registerHandler(int signum, SignalEventHandler *eh,
62 return true; 62 return true;
63} 63}
64 64
65#ifdef NOT_USED
65void SignalHandler::removeHandler(int signum) { 66void SignalHandler::removeHandler(int signum) {
66 if (signum < NSIG) 67 if (signum < NSIG)
67 s_signal_handler[signum] = 0; // clear handler pointer 68 s_signal_handler[signum] = 0; // clear handler pointer
68} 69}
70#endif
69 71
70void SignalHandler::handleSignal(int signum) { 72void SignalHandler::handleSignal(int signum) {
71 if (signum >= NSIG) 73 if (signum >= NSIG)