This is just a wrapper around first_ptr_list(). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- lib.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib.h b/lib.h index 0b1d4492e6bd..b4c3db93ab31 100644 --- a/lib.h +++ b/lib.h @@ -204,6 +204,11 @@ static inline pseudo_t first_pseudo(struct pseudo_list *head) return first_ptr_list((struct ptr_list *)head); } +static inline struct symbol *first_symbol(struct symbol_list *head) +{ + return first_ptr_list((struct ptr_list *)head); +} + static inline void concat_symbol_list(struct symbol_list *from, struct symbol_list **to) { concat_ptr_list((struct ptr_list *)from, (struct ptr_list **)to); -- 2.29.0