diff options
author | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2010-06-14 17:13:14 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:48:21 +0100 |
commit | 223ff5165fd7bedc8b547400aae10cb4e289e8eb (patch) | |
tree | 9a527c3bc84fce0f4a308e8983489d9f488138ad /obexd/src/log.h | |
parent | fc180e2f74d6e05af95234c900d88f35a358cfd5 (diff) | |
download | bluez-223ff5165fd7bedc8b547400aae10cb4e289e8eb.tar.gz |
obexd: Rename debug() into log_debug() to hide it in favor of DBG()
Diffstat (limited to 'obexd/src/log.h')
-rw-r--r-- | obexd/src/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/obexd/src/log.h b/obexd/src/log.h index 897924da2..12dc5137a 100644 --- a/obexd/src/log.h +++ b/obexd/src/log.h @@ -23,7 +23,7 @@ void info(const char *format, ...) __attribute__((format(printf, 1, 2))); void error(const char *format, ...) __attribute__((format(printf, 1, 2))); -void debug(const char *format, ...) __attribute__((format(printf, 1, 2))); +void log_debug(const char *format, ...) __attribute__((format(printf, 1, 2))); void obex_debug(int evt, int cmd, int rsp); void log_init(const char *ident, const char *debug, int log_option); @@ -52,5 +52,5 @@ struct log_debug_desc { .file = __FILE__, .flags = LOG_DEBUG_FLAG_DEFAULT, \ }; \ if (__log_debug_desc.flags & LOG_DEBUG_FLAG_PRINT) \ - debug("%s:%s() " fmt, __FILE__, __FUNCTION__ , ## arg); \ + log_debug("%s:%s() " fmt, __FILE__, __FUNCTION__ , ## arg); \ } while (0) |