include: list.h: fix inline docs for xorg_list_append()

The docs stated it's prepending, while it's actually appending.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-28 12:28:50 +02:00
parent 473b8a0e38
commit fc428a78a2

View File

@ -168,7 +168,7 @@ xorg_list_add(struct xorg_list *entry, struct xorg_list *head)
* struct foo *newfoo = malloc(...);
* xorg_list_append(&newfoo->entry, &bar->list_of_foos);
*
* @param entry The new element to prepend to the list.
* @param entry The new element to append to the list.
* @param head The existing list.
*/
static inline void