From 8163b4b348dbeb812c815b6943bf5faa391dda79 Mon Sep 17 00:00:00 2001 From: Simon Peeters Date: Sun, 6 Nov 2016 16:09:32 +0100 Subject: [PATCH] udevd: use list.h instead of udev_list_node --- src/basic/list.h | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.30.2