Correct xorg_list_is_empty return value description
The helper xorg_list_is_empty returns True when the list is empty and not when it contains one or more elements. Signed-off-by: Roman Gilg <subdiff@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bebcc8477c
commit
2ff6eaad85
|
@ -211,7 +211,8 @@ xorg_list_del(struct xorg_list *entry)
|
|||
* Example:
|
||||
* xorg_list_is_empty(&bar->list_of_foos);
|
||||
*
|
||||
* @return True if the list contains one or more elements or False otherwise.
|
||||
* @return True if the list is empty or False if the list contains one or more
|
||||
* elements.
|
||||
*/
|
||||
static inline int
|
||||
xorg_list_is_empty(struct xorg_list *head)
|
||||
|
|
Loading…
Reference in New Issue