mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 06:00:32 +01:00
shared/c-list: reimport
git subtree pull --prefix shared/c-list git@github.com:c-util/c-list.git master --squash
This commit is contained in:
commit
3096d31155
1 changed files with 3 additions and 1 deletions
|
|
@ -87,10 +87,12 @@ static inline _Bool c_list_is_linked(const CList *what) {
|
|||
* c_list_is_empty() - check whether a list is empty
|
||||
* @list: list to check, or NULL
|
||||
*
|
||||
* This is the same as !c_list_is_linked().
|
||||
*
|
||||
* Return: True if @list is empty, false if not.
|
||||
*/
|
||||
static inline _Bool c_list_is_empty(const CList *list) {
|
||||
return !list || !c_list_is_linked(list);
|
||||
return !c_list_is_linked(list);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue