<p>Pau Espin Pedrol <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/13387">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">talloc_ctx_init: Use public API osmo_signal_talloc_ctx_init<br><br>There's already a public API to allocate libosmocore's signal ctx, so<br>let's use it instead of accessing the global variable. This will allow<br>to eventually Make the global variable in libosmocore static and<br>private.<br><br>Change-Id: I8dab0ef810adba17fdd242e3a127908dd09b2b42<br>---<br>M openbsc/src/libcommon/talloc_ctx.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/openbsc/src/libcommon/talloc_ctx.c b/openbsc/src/libcommon/talloc_ctx.c</span><br><span>index 5e3d9ae..7164851 100644</span><br><span>--- a/openbsc/src/libcommon/talloc_ctx.c</span><br><span>+++ b/openbsc/src/libcommon/talloc_ctx.c</span><br><span>@@ -19,6 +19,7 @@</span><br><span> </span><br><span> #include <osmocom/core/talloc.h></span><br><span> #include <osmocom/core/msgb.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <osmocom/core/signal.h></span><br><span> </span><br><span> extern void *tall_bsc_ctx;</span><br><span> extern void *tall_fle_ctx;</span><br><span>@@ -29,7 +30,6 @@</span><br><span> extern void *tall_sub_req_ctx;</span><br><span> extern void *tall_call_ctx;</span><br><span> extern void *tall_paging_ctx;</span><br><span style="color: hsl(0, 100%, 40%);">-extern void *tall_sigh_ctx;</span><br><span> extern void *tall_tqe_ctx;</span><br><span> extern void *tall_trans_ctx;</span><br><span> extern void *tall_map_ctx;</span><br><span>@@ -47,10 +47,10 @@</span><br><span>  tall_sub_req_ctx = talloc_named_const(ctx_root, 0, "subscr_request");</span><br><span>      tall_call_ctx = talloc_named_const(ctx_root, 0, "gsm_call");</span><br><span>       tall_paging_ctx = talloc_named_const(ctx_root, 0, "paging_request");</span><br><span style="color: hsl(0, 100%, 40%);">-  tall_sigh_ctx = talloc_named_const(ctx_root, 0, "signal_handler");</span><br><span>         tall_tqe_ctx = talloc_named_const(ctx_root, 0, "subch_txq_entry");</span><br><span>         tall_trans_ctx = talloc_named_const(ctx_root, 0, "transaction");</span><br><span>   tall_map_ctx = talloc_named_const(ctx_root, 0, "trau_map_entry");</span><br><span>  tall_upq_ctx = talloc_named_const(ctx_root, 0, "trau_upq_entry");</span><br><span>  tall_ctr_ctx = talloc_named_const(ctx_root, 0, "counter");</span><br><span style="color: hsl(120, 100%, 40%);">+  osmo_signal_talloc_ctx_init(ctx_root);</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13387">change 13387</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13387"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: openbsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I8dab0ef810adba17fdd242e3a127908dd09b2b42 </div>
<div style="display:none"> Gerrit-Change-Number: 13387 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>