<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-iuh/+/15041">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Remove undefined param passed to {logging,osmo_stats}_vty_add_cmds<br><br>Since March 15th 2017, libosmocore API logging_vty_add_cmds() had its<br>parameter removed (c65c5b4ea075ef6cef11fff9442ae0b15c1d6af7). However,<br>definition in C file doesn't contain "(void)", which means number of<br>parameters is undefined and thus compiler doesn't complain. Let's remove<br>parameters from all callers before enforcing "(void)" on it.<br><br>Change-Id: I31a286bebe3229671d9960ae32a753d260a26b1d<br>Related: OS#4138<br>---<br>M src/hnbgw.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/41/15041/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/hnbgw.c b/src/hnbgw.c</span><br><span>index fa655ae..3f94a01 100644</span><br><span>--- a/src/hnbgw.c</span><br><span>+++ b/src/hnbgw.c</span><br><span>@@ -539,7 +539,7 @@</span><br><span>      osmo_ss7_vty_init_asp(tall_hnb_ctx);</span><br><span>         osmo_sccp_vty_init();</span><br><span>        hnbgw_vty_init(g_hnb_gw, tall_hnb_ctx);</span><br><span style="color: hsl(0, 100%, 40%);">- logging_vty_add_cmds(&hnbgw_log_info);</span><br><span style="color: hsl(120, 100%, 40%);">+    logging_vty_add_cmds();</span><br><span> </span><br><span>  /* Handle options after vty_init(), for --version */</span><br><span>         handle_options(argc, argv);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-iuh/+/15041">change 15041</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/c/osmo-iuh/+/15041"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-iuh </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I31a286bebe3229671d9960ae32a753d260a26b1d </div>
<div style="display:none"> Gerrit-Change-Number: 15041 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>