mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 16:58:03 +02:00
include: a new list element does not need initialization, state so
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
parent
58dc73314b
commit
18539c89ec
1 changed files with 2 additions and 1 deletions
|
|
@ -141,7 +141,8 @@ __list_add(struct list *entry,
|
|||
}
|
||||
|
||||
/**
|
||||
* Insert a new element after the given list head.
|
||||
* Insert a new element after the given list head. The new element does not
|
||||
* need to be initialised as empty list.
|
||||
* The list changes from:
|
||||
* head → some element → ...
|
||||
* to
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue