aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-16 19:14:31 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-17 07:06:08 +0000
commit4db98554fd23d1f6f5dcb46c7908ce42c95d979e (patch)
treec4e4dc93c68ba4d9345592c2baa4e6ab123e6930
parent0c8771e34f5e637e5a57c34dc6d86568b6c5bd22 (diff)
bsc: Use libosmocore API to track osmo_signal structs
libosmocore recently had the new API introduced for this purpose. Depends: libosmocore Change-Id Id58ca18eb826b8f4183a7cf0dbb2b38cba702a09 Change-Id: Id07260635327617f8da5050af1e906891a89c530
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 37e8665dd..8ff0e8aa3 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -783,7 +783,6 @@ const struct log_info log_info = {
extern void *tall_paging_ctx;
extern void *tall_fle_ctx;
-extern void *tall_sigh_ctx;
extern void *tall_tqe_ctx;
extern void *tall_ctr_ctx;
@@ -795,12 +794,12 @@ int main(int argc, char **argv)
tall_bsc_ctx = talloc_named_const(NULL, 1, "osmo-bsc");
msgb_talloc_ctx_init(tall_bsc_ctx, 0);
+ osmo_signal_talloc_ctx_init(tall_bsc_ctx);
osmo_xua_msg_tall_ctx_init(tall_bsc_ctx);
vty_info.tall_ctx = tall_bsc_ctx;
tall_paging_ctx = talloc_named_const(tall_bsc_ctx, 0, "paging_request");
tall_fle_ctx = talloc_named_const(tall_bsc_ctx, 0, "bs11_file_list_entry");
- tall_sigh_ctx = talloc_named_const(tall_bsc_ctx, 0, "signal_handler");
tall_tqe_ctx = talloc_named_const(tall_bsc_ctx, 0, "subch_txq_entry");
tall_ctr_ctx = talloc_named_const(tall_bsc_ctx, 0, "counter");