From 3633a6daf9b95c868512b963575c42290bfaa4b5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 26 Dec 2008 00:06:02 +0000 Subject: * fix DEBUGP defines, activate DEBUG functionality * fix typo in db_transmission function --- include/openbsc/debug.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/openbsc/debug.h') diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h index c1db120a9..41953a362 100644 --- a/include/openbsc/debug.h +++ b/include/openbsc/debug.h @@ -1,13 +1,18 @@ #ifndef _DEBUG_H #define _DEBUG_H +#define DEBUG + #define DRLL 0x0001 #define DCC 0x0002 #define DMM 0x0004 #define DRR 0x0008 +#define DRSL 0x0010 +#define DNM 0x0020 +#define DMI 0x1000 #ifdef DEBUG -#define DEBUGP(ss, args, ...) debugp(ss, args, ...) +#define DEBUGP(ss, args...) debugp(ss, __FILE__, __LINE__, ## args) #else #define DEBUGP(xss, args, ...) #endif -- cgit v1.2.3