Diff between f5206387179b8ace65323a5007922c78bb5b71e9 and 99633b88a55adc45150b895ce5b2cbbb07c3c0b5

Changed Files

File Additions Deletions Status
obexd/src/logging.h +3 -0 modified
obexd/src/obexd.h +0 -5 modified

Full Patch

diff --git a/obexd/src/logging.h b/obexd/src/logging.h
index f30628a..325e869 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 7ce738e..f45eb94 100644
--- a/obexd/src/obexd.h
+++ b/obexd/src/obexd.h
@@ -21,11 +21,6 @@
  *
  */
 
-#include <stdio.h>
-
-#define DBG(fmt, arg...)  printf("%s: " fmt "\n" , __FUNCTION__ , ## arg)
-//#define DBG(fmt, arg...)
-
 gboolean plugin_init(void);
 void plugin_cleanup(void);