diff --git a/obexd/src/log.c b/obexd/src/log.c
index fe045a4..ac8327c 100644
--- a/obexd/src/log.c
+++ b/obexd/src/log.c
va_end(ap);
}
-void debug(const char *format, ...)
+void log_debug(const char *format, ...)
{
va_list ap;
rspstr = obex_response[i].name;
}
- debug("%s(0x%x), %s(0x%x), %s(0x%x)", evtstr, evt, cmdstr, cmd,
+ log_debug("%s(0x%x), %s(0x%x), %s(0x%x)", evtstr, evt, cmdstr, cmd,
rspstr, rsp);
}
diff --git a/obexd/src/log.h b/obexd/src/log.h
index 897924d..12dc513 100644
--- a/obexd/src/log.h
+++ b/obexd/src/log.h
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);
.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)