From 99633b88a55adc45150b895ce5b2cbbb07c3c0b5 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 5 Sep 2008 21:26:28 +0200 Subject: [PATCH] obexd: Have DBG using the logging infrastructure --- obexd/src/logging.h | 3 +++ obexd/src/obexd.h | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/obexd/src/logging.h b/obexd/src/logging.h index f30628a43..325e869a2 100644 --- a/obexd/src/logging.h +++ b/obexd/src/logging.h @@ -30,3 +30,6 @@ void enable_debug(void); void disable_debug(void); void start_logging(const char *ident, const char *message, ...); void stop_logging(void); + +#define DBG(fmt, arg...) debug("%s: " fmt "\n" , __FUNCTION__ , ## arg) +//#define DBG(fmt, arg...) diff --git a/obexd/src/obexd.h b/obexd/src/obexd.h index 7ce738e13..f45eb9427 100644 --- a/obexd/src/obexd.h +++ b/obexd/src/obexd.h @@ -21,11 +21,6 @@ * */ -#include - -#define DBG(fmt, arg...) printf("%s: " fmt "\n" , __FUNCTION__ , ## arg) -//#define DBG(fmt, arg...) - gboolean plugin_init(void); void plugin_cleanup(void); -- 2.47.3