aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/bsc/debug.h')
-rw-r--r--include/osmocom/bsc/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/debug.h b/include/osmocom/bsc/debug.h
index 1133bf6f6..ed6cbc3cc 100644
--- a/include/osmocom/bsc/debug.h
+++ b/include/osmocom/bsc/debug.h
@@ -6,6 +6,8 @@
#define DEBUG
#include <osmocom/core/logging.h>
+#define LOG_ADD_NEWLINE(fmt) ((!fmt || !*fmt || fmt[strlen(fmt)-1] != '\n') ? "\n" : "")
+
/* Debug Areas of the code */
enum {
DRLL,