chiark / gitweb /
[PATCH] udev use new libsysfs header file location
[elogind.git] / libsysfs / sysfs.h
index 4ea4919351782c1ddc4818934737477c903efc0d..49c9285bc37aa1c874ca4fa6833cc8a429608d87 100644 (file)
@@ -34,7 +34,7 @@
 
 /* Debugging */
 #ifdef DEBUG
-#include <syslog.h>
+#include "../logging.h" 
 #define dprintf(format, arg...)                                                                \
        do {                                                                            \
                log_message (LOG_DEBUG , "%s: " format , __FUNCTION__ , ## arg);        \
@@ -43,8 +43,4 @@
 #define dprintf(format, arg...) do { } while (0)
 #endif
 
-extern int log_message (int level, const char *format, ...)
-       __attribute__ ((format (printf, 2, 3)));
-
-
 #endif /* _SYSFS_H_ */