From 045a3bc89e9cdb991aed3043792f032e4f397f11 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 14 Jun 2009 17:53:15 +0200 Subject: USE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUX --- udev/Makefile.am | 2 +- udev/udev-rules.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'udev') diff --git a/udev/Makefile.am b/udev/Makefile.am index 14ec79e8d6..5f6f7c54c0 100644 --- a/udev/Makefile.am +++ b/udev/Makefile.am @@ -29,7 +29,7 @@ common_files = \ ../libudev/libudev-queue-private.c \ ../libudev/libudev-ctrl.c -if USE_SELINUX +if WITH_SELINUX common_files += \ ../libudev/libudev-selinux-private.c common_ldadd += \ diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 5cb381ebac..7db890fed9 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -211,7 +211,7 @@ struct rule_tmp { unsigned int token_cur; }; -#ifdef DEBUG +#ifdef ENABLE_DEBUG static const char *operation_str(enum operation_type type) { static const char *operation_strs[] = { @@ -421,7 +421,7 @@ static inline const char *operation_str(enum operation_type type) { return NULL; static inline const char *token_str(enum token_type type) { return NULL; } static inline void dump_token(struct udev_rules *rules, struct token *token) {} static inline void dump_rules(struct udev_rules *rules) {} -#endif /* DEBUG */ +#endif /* ENABLE_DEBUG */ static int add_new_string(struct udev_rules *rules, const char *str, size_t bytes) { -- cgit v1.2.3-54-g00ecf