From ad38464728cf1503258288ee9d64600c8adf38ba Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 26 Dec 2008 10:20:07 +0000 Subject: this is the first version that actually talks to the BTS * initialize OML and RSL based on TEI establish (ACTIVATE_IND) events * fix abis_nm_raw_msg() to not overwrite the OML header with payload * fix debug print statements * fix msgb_dequeue: actually dequeue it from the list ;) --- include/openbsc/debug.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/openbsc/debug.h') diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h index 41953a362..02ae699c4 100644 --- a/include/openbsc/debug.h +++ b/include/openbsc/debug.h @@ -12,9 +12,11 @@ #define DMI 0x1000 #ifdef DEBUG -#define DEBUGP(ss, args...) debugp(ss, __FILE__, __LINE__, ## args) +#define DEBUGP(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, fmt, ## args) #else -#define DEBUGP(xss, args, ...) +#define DEBUGP(xss, fmt, args...) #endif +void debugp(int subsys, char *file, int line, const char *format, ...); + #endif /* _DEBUG_H */ -- cgit v1.2.3