udevd: use list.h instead of udev_list_node

This commit is contained in:
Simon Peeters
2017-11-22 10:38:05 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 8a9b3a23fd
commit 40a5771658
2 changed files with 20 additions and 27 deletions
+3
View File
@@ -183,3 +183,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))