chiark / gitweb /
[PATCH] udevd race conditions and performance, assorted cleanups
[elogind.git] / libsysfs / sysfs.h
index 49c9285bc37aa1c874ca4fa6833cc8a429608d87..0fdb38af193b073dc8ac4dcd0b281dbf4935aeb3 100644 (file)
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <errno.h>
+#include "dlist.h"
 
 /* Debugging */
 #ifdef DEBUG
 #include "../logging.h" 
 #define dprintf(format, arg...)                                                                \
-       do {                                                                            \
-               log_message (LOG_DEBUG , "%s: " format , __FUNCTION__ , ## arg);        \
-       } while (0)
+       dbg(format, ##arg)
 #else
 #define dprintf(format, arg...) do { } while (0)
 #endif