This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/13387 Change subject: talloc_ctx_init: Use public API osmo_signal_talloc_ctx_init ...................................................................... talloc_ctx_init: Use public API osmo_signal_talloc_ctx_init There's already a public API to allocate libosmocore's signal ctx, so let's use it instead of accessing the global variable. This will allow to eventually Make the global variable in libosmocore static and private. Change-Id: I8dab0ef810adba17fdd242e3a127908dd09b2b42 --- M openbsc/src/libcommon/talloc_ctx.c 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/87/13387/1 diff --git a/openbsc/src/libcommon/talloc_ctx.c b/openbsc/src/libcommon/talloc_ctx.c index 5e3d9ae..7164851 100644 --- a/openbsc/src/libcommon/talloc_ctx.c +++ b/openbsc/src/libcommon/talloc_ctx.c @@ -19,6 +19,7 @@ #include <osmocom/core/talloc.h> #include <osmocom/core/msgb.h> +#include <osmocom/core/signal.h> extern void *tall_bsc_ctx; extern void *tall_fle_ctx; @@ -29,7 +30,6 @@ extern void *tall_sub_req_ctx; extern void *tall_call_ctx; extern void *tall_paging_ctx; -extern void *tall_sigh_ctx; extern void *tall_tqe_ctx; extern void *tall_trans_ctx; extern void *tall_map_ctx; @@ -47,10 +47,10 @@ tall_sub_req_ctx = talloc_named_const(ctx_root, 0, "subscr_request"); tall_call_ctx = talloc_named_const(ctx_root, 0, "gsm_call"); tall_paging_ctx = talloc_named_const(ctx_root, 0, "paging_request"); - tall_sigh_ctx = talloc_named_const(ctx_root, 0, "signal_handler"); tall_tqe_ctx = talloc_named_const(ctx_root, 0, "subch_txq_entry"); tall_trans_ctx = talloc_named_const(ctx_root, 0, "transaction"); tall_map_ctx = talloc_named_const(ctx_root, 0, "trau_map_entry"); tall_upq_ctx = talloc_named_const(ctx_root, 0, "trau_upq_entry"); tall_ctr_ctx = talloc_named_const(ctx_root, 0, "counter"); + osmo_signal_talloc_ctx_init(ctx_root); } -- To view, visit https://gerrit.osmocom.org/13387 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8dab0ef810adba17fdd242e3a127908dd09b2b42 Gerrit-Change-Number: 13387 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190322/16fc6a4c/attachment.htm>