]> 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)
committerTom Rini <trini@konsulko.com>
Mon, 4 Nov 2024 03:27:12 +0000 (21:27 -0600)
commit1d49f78c362981435a88d887c777ccc445f5a4e7
treeccf9cde5ff3f79eb3d3b5104ddd361d5de809147
parenteb6e87a7ab9f93596983b57eef08509beeedf3fb
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