]> git.dujemihanovic.xyz Git - u-boot.git/commit
alist: Add a way to get the next element
authorSimon Glass <sjg@chromium.org>
Sat, 19 Oct 2024 15:21:44 +0000 (09:21 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 17:13:59 +0000 (11:13 -0600)
commit2ce146a3de7beeaa89ef4f8677fe71a38546156b
tree88ca8fa5cfeb5a4509fc7154526af3bc1e0ea93f
parent6668d860f78035969db301f2c43266094d455191
alist: Add a way to get the next element

Add a new function which returns the next element after the one
provided, if it exists in the list.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/alist.h
lib/alist.c
test/lib/alist.c