summaryrefslogtreecommitdiffstats
path: root/src/libudev/libudev.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-29 18:40:23 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-20 06:38:35 +0100
commitf921b457a784b8f3edffcac7db79c940634c35f9 (patch)
tree98ded313fb8146db733e669631b78a1d18bd2b5e /src/libudev/libudev.h
parentlibudev-list: move libudev-list related definitions to libudev-list-internal.h (diff)
downloadsystemd-f921b457a784b8f3edffcac7db79c940634c35f9.tar.xz
systemd-f921b457a784b8f3edffcac7db79c940634c35f9.zip
libudev: coding style fixes
Diffstat (limited to 'src/libudev/libudev.h')
-rw-r--r--src/libudev/libudev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h
index 3e3d0591dd..02c2e5e8ed 100644
--- a/src/libudev/libudev.h
+++ b/src/libudev/libudev.h
@@ -49,7 +49,7 @@ const char *udev_list_entry_get_value(struct udev_list_entry *list_entry);
*/
#define udev_list_entry_foreach(list_entry, first_entry) \
for (list_entry = first_entry; \
- list_entry != NULL; \
+ list_entry; \
list_entry = udev_list_entry_get_next(list_entry))
/*