summaryrefslogtreecommitdiff
path: root/daemon/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/debug.h')
-rw-r--r--daemon/debug.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/daemon/debug.h b/daemon/debug.h
index 8ffbb84..d5f3fba 100644
--- a/daemon/debug.h
+++ b/daemon/debug.h
@@ -50,15 +50,13 @@ extern "C" {
//DEBUG ON PARSING
#ifdef PARSE_DEBUG_ON
-#define parse_deb(...) LOGI(__VA_ARGS__)
+#define parse_deb LOGI
#else
#define parse_deb(...) do{}while(0)
#endif /*parse_on*/
//PRINT BUFFER DEBUG
-#ifndef DEB_PRINTBUF
- #define printBuf() do {} while(0)
-#endif
+void printBuf (char * buf, int len);
//THREAD SAMPLING DEBUG
#ifdef THREAD_SAMPLING_DEBUG
@@ -104,8 +102,7 @@ extern "C" {
#define LOGW(...) do{} while(0)
#endif
-// DEBUGS
-void printBuf (char * buf, int len);
+
#ifdef __cplusplus
}