diff options
author | Kay Sievers <kay@vrfy.org> | 2014-11-13 13:11:04 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-11-13 13:12:57 +0100 |
commit | 25e773eeb4f853804e1bf0dbd9a184f23e9b2a97 (patch) | |
tree | b8fe0c0d5d8920e3e522427342d366d722eb35be /src/libudev/libudev-private.h | |
parent | a974cacd9ac179599f3645409664ccb254ed6bbb (diff) |
udev: switch to systemd logging functions
Diffstat (limited to 'src/libudev/libudev-private.h')
-rw-r--r-- | src/libudev/libudev-private.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h index 17803c2f43..2bad13997f 100644 --- a/src/libudev/libudev-private.h +++ b/src/libudev/libudev-private.h @@ -33,15 +33,6 @@ #define READ_END 0 #define WRITE_END 1 -/* avoid (sometimes expensive) calculations of parameters for debug output */ -#define udev_log_cond(udev, prio, arg...) \ - do { \ - if (udev_get_log_priority(udev) >= prio) \ - udev_log(udev, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ - } while (0) - -#define udev_dbg(udev, arg...) udev_log_cond(udev, LOG_DEBUG, ## arg) - /* libudev.c */ void udev_log(struct udev *udev, int priority, const char *file, int line, const char *fn, |