<p>Max <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/12214">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Constify llist_count() parameter<br><br>Counting list entires should not alter the list content: let's make this<br>obvious from type signature.<br><br>Change-Id: I414e67a3de733fab407161b3264d3b89070ba537<br>---<br>M include/osmocom/core/linuxlist.h<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/core/linuxlist.h b/include/osmocom/core/linuxlist.h</span><br><span>index 8d0533f..7791310 100644</span><br><span>--- a/include/osmocom/core/linuxlist.h</span><br><span>+++ b/include/osmocom/core/linuxlist.h</span><br><span>@@ -387,7 +387,7 @@</span><br><span>  * This function is not efficient, mostly useful for small lists and non time</span><br><span>  * critical cases like unit tests.</span><br><span>  */</span><br><span style="color: hsl(0, 100%, 40%);">-static inline unsigned int llist_count(struct llist_head *head)</span><br><span style="color: hsl(120, 100%, 40%);">+static inline unsigned int llist_count(const struct llist_head *head)</span><br><span> {</span><br><span>  struct llist_head *entry;</span><br><span>    unsigned int i = 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12214">change 12214</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/12214"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I414e67a3de733fab407161b3264d3b89070ba537 </div>
<div style="display:none"> Gerrit-Change-Number: 12214 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </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>