aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/signal.c')
-rw-r--r--openbsc/src/signal.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/openbsc/src/signal.c b/openbsc/src/signal.c
index bf5671ee1..e04cadf73 100644
--- a/openbsc/src/signal.c
+++ b/openbsc/src/signal.c
@@ -24,7 +24,7 @@
#include <string.h>
-static void *tall_sigh_ctx;
+void *tall_sigh_ctx;
static LLIST_HEAD(signal_handler_list);
struct signal_handler {
@@ -81,8 +81,3 @@ void dispatch_signal(unsigned int subsys, unsigned int signal, void *signal_data
(*handler->cbfn)(subsys, signal, handler->data, signal_data);
}
}
-
-static __attribute__((constructor)) void on_dso_load_signal(void)
-{
- tall_sigh_ctx = talloc_named_const(NULL, 1, "signal_handler");
-}