X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudev-rules.c;h=7db890fed91166869cee5699d1eb83fb83f45053;hb=a7c140c723b8022173db4910cf20dad3e461fdd5;hp=5cb381ebac68f561e7b2c1372042edd1ca2b2c0f;hpb=32028733ee9ee1fca2f18497ff302de003916c4f;p=elogind.git diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 5cb381eba..7db890fed 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) {