Skip to content
Commit e69982b8 authored by Benjamin Walsh's avatar Benjamin Walsh
Browse files

slist: add sys_slist_get() to fetch and remove the head



More straightforward than doing sys_slist_peek_head() followed by
sys_slist_remove().

Also add a version that does not check if the list is non-empty to be
used when the list is known bo be non-empty.

Change-Id: I8fd10e20e2c84c7d8972c9207f3d4917884808cb
Signed-off-by: default avatarBenjamin Walsh <benjamin.walsh@windriver.com>
parent 8cff7995
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment