summaryrefslogtreecommitdiff
path: root/udev/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-09 22:47:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-09 22:47:48 +0200
commit9060b066d9e7aaca9795010ac5fff61018947f87 (patch)
treee79743bf9b075b10e2de962579e63a30ce36202e /udev/udev.h
parent119f66fc36b4f5164fb4a9ece247938e97609a05 (diff)
move syslog wrapper to libudev
Diffstat (limited to 'udev/udev.h')
-rw-r--r--udev/udev.h17
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;