<p>Vadim Yanitskiy has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13409">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Doxygen: fix documentation of rate_ctr_for_each_counter()<br><br>Doxygen was confused by duplicated documentation for both<br>definition and declaration of rate_ctr_for_each_counter().<br>Moreover, both variants contained some mistakes.<br><br>Let's avoid this duplication and keep the only (corrected) one.<br><br>Change-Id: Icca2d4a95bd5f96ae85a86909ec90fb8677cacf3<br>---<br>M include/osmocom/core/rate_ctr.h<br>M src/rate_ctr.c<br>2 files changed, 1 insertion(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/09/13409/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/core/rate_ctr.h b/include/osmocom/core/rate_ctr.h</span><br><span>index 865467c..f7e6e22 100644</span><br><span>--- a/include/osmocom/core/rate_ctr.h</span><br><span>+++ b/include/osmocom/core/rate_ctr.h</span><br><span>@@ -111,10 +111,6 @@</span><br><span> typedef int (*rate_ctr_group_handler_t)(struct rate_ctr_group *, void *);</span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-/*! Iterate over all counters</span><br><span style="color: hsl(0, 100%, 40%);">- *  \param[in] handle_item Call-back function, aborts if rc < 0</span><br><span style="color: hsl(0, 100%, 40%);">- *  \param[in] data Private data handed through to \a handle_counter</span><br><span style="color: hsl(0, 100%, 40%);">- */</span><br><span> int rate_ctr_for_each_counter(struct rate_ctr_group *ctrg,</span><br><span>     rate_ctr_handler_t handle_counter, void *data);</span><br><span> </span><br><span>diff --git a/src/rate_ctr.c b/src/rate_ctr.c</span><br><span>index c9319a6..82fddc6 100644</span><br><span>--- a/src/rate_ctr.c</span><br><span>+++ b/src/rate_ctr.c</span><br><span>@@ -385,7 +385,7 @@</span><br><span> }</span><br><span> </span><br><span> /*! Iterate over each counter in group and call function</span><br><span style="color: hsl(0, 100%, 40%);">- *  \param[in] counter group over whose counter to iterate</span><br><span style="color: hsl(120, 100%, 40%);">+ *  \param[in] ctrg counter group over which to iterate</span><br><span>  *  \param[in] handle_counter function pointer</span><br><span>  *  \param[in] data Data to hand transparently to \ref handle_counter</span><br><span>  *  \returns 0 on success; negative otherwise</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13409">change 13409</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/13409"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Icca2d4a95bd5f96ae85a86909ec90fb8677cacf3 </div>
<div style="display:none"> Gerrit-Change-Number: 13409 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>