diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-06-09 22:47:48 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-06-09 22:47:48 +0200 |
commit | 9060b066d9e7aaca9795010ac5fff61018947f87 (patch) | |
tree | e79743bf9b075b10e2de962579e63a30ce36202e /udev/udev.h | |
parent | 119f66fc36b4f5164fb4a9ece247938e97609a05 (diff) |
move syslog wrapper to libudev
Diffstat (limited to 'udev/udev.h')
-rw-r--r-- | udev/udev.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/udev/udev.h b/udev/udev.h index 8926dee932..bd3686b28a 100644 --- a/udev/udev.h +++ b/udev/udev.h @@ -34,23 +34,6 @@ #define READ_END 0 #define WRITE_END 1 -static inline void logging_init(const char *program_name) -{ - openlog(program_name, LOG_PID | LOG_CONS, LOG_DAEMON); -} - -static inline void logging_msg(struct udev *udev, int priority, - const char *file, int line, const char *fn, - const char *format, va_list args) -{ - vsyslog(priority, format, args); -} - -static inline void logging_close(void) -{ - closelog(); -} - struct udev_event { struct udev *udev; struct udev_device *dev; |