summaryrefslogtreecommitdiff
path: root/libudev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-14 17:53:15 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-14 17:53:15 +0200
commit045a3bc89e9cdb991aed3043792f032e4f397f11 (patch)
treeab4e69b91cf42570a05988da4104194aff8fe429 /libudev
parent98ad80f8737b0cfcd264e32e37d6c5d4e35e4ea5 (diff)
USE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUX
Diffstat (limited to 'libudev')
-rw-r--r--libudev/libudev-private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h
index 9770e8b63c..5c10b4e37a 100644
--- a/libudev/libudev-private.h
+++ b/libudev/libudev-private.h
@@ -29,8 +29,8 @@ udev_log_null(struct udev *udev, const char *format, ...) {}
udev_log(udev, LOG_ERR, __FILE__, __LINE__, __FUNCTION__, ## arg); \
} while (0)
-#ifdef USE_LOG
-# ifdef DEBUG
+#ifdef ENABLE_LOGGING
+# ifdef ENABLE_DEBUG
# define dbg(udev, arg...) udev_log_cond(udev, LOG_DEBUG, ## arg)
# else
# define dbg(udev, arg...) udev_log_null(udev, ## arg)
@@ -219,7 +219,7 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string,
char *result, size_t maxsize, int read_value);
/* libudev-selinux-private.c */
-#ifndef USE_SELINUX
+#ifndef WITH_SELINUX
static inline void udev_selinux_init(struct udev *udev) {}
static inline void udev_selinux_exit(struct udev *udev) {}
static inline void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsigned int mode) {}