This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 505a22fc5102b69cdb7a910fb65da67e41d7f649 (commit)
from b0a4234c49ba6338bc78fe83b7f85af2571b70f6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=505a22fc5102b69cdb7a910fb65d…
commit 505a22fc5102b69cdb7a910fb65da67e41d7f649
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Jan 11 00:33:10 2017 +0100
linuxlist.h: add llist_count()
After subchan_demux.c in libosmo-abis, osmo-bts/common/vty.c and openbsc's
gtphub_test.c, more places would like to count the llist items (mostly unit
tests). Instead of proliferating numerous local implementations, add here.
NOTE: other than the previous llist_len() implementations, this one returns an
*unsigned* length, which might need some adjusting of current callers.
Call this llist_count() rather than llist_len() to highlight the fact that this
is actively iterating. This also avoids a potential naming conflict when
library versions mismatch.
Change-Id: Ic49adc7a346f5722bf624d7d3b4a735e4220ae15
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/linuxlist.h | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
hooks/post-receive
--
An utility library for Open Source Mobile Communications