commit | 4cb0c8b45e0b4022adc63155ff44d9967d8f79d4 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Tue Mar 14 22:48:02 2017 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Mar 15 12:58:00 2017 +0000 |
tree | db94a002e9c97ebabaf2ddf23088db5ab8663707 | |
parent | 45e778d397a525956e377567d5f9af6318a5343e [diff] |
linuxlist.h: add llist_first/last_entry macros Copy list_first_entry, list_first_entry_or_null and list_last_entry from current linux kernel's tools/include/linux/list.h and rename to llist_*. Slightly adjust API doc but stay as close to the source as possible. This can replace similar implementations in osmo-bts-octphy's l1_if.c, in openbsc's gtphub.c and in osmo-hlr's gsup_server.c. Change-Id: I4eac5be0c0b2cede04464c4c3a0873102d952453