diff options
author | Simon Peeters <simon@inuits.eu> | 2016-11-06 16:09:32 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2016-11-06 16:09:32 +0100 |
commit | 8163b4b348dbeb812c815b6943bf5faa391dda79 (patch) | |
tree | 5e4a39211116361c867969acfb2c2e42b4ac4126 /src | |
parent | 1bc5ad9dd29aeb665a9e35de0f5a0fa9eddbbfa9 (diff) |
udevd: use list.h instead of udev_list_node
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/list.h b/src/basic/list.h index c3771a177..acc410aef 100644 --- a/src/basic/list.h +++ b/src/basic/list.h @@ -182,3 +182,6 @@ for ((i) = (p)->name##_next ? (p)->name##_next : (head); \ (i) != (p); \ (i) = (i)->name##_next ? (i)->name##_next : (head)) + +#define LIST_IS_EMPTY(head) \ + (!(head)) |