From b0f4793f90998a5fc8e619252011d46c7b27a241 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 30 Dec 2008 14:59:01 +0000 Subject: [PATCH] export debug_flags --- include/openbsc/debug.h | 1 + src/debug.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h index 5fe22bc92..d30f0d05a 100644 --- a/include/openbsc/debug.h +++ b/include/openbsc/debug.h @@ -25,5 +25,6 @@ void debugp(unsigned int subsys, char *file, int line, const char *format, ...); void debug_parse_category_mask(const char* mask); void debug_use_color(int use_color); +unsigned int debug_mask; #endif /* _DEBUG_H */ diff --git a/src/debug.c b/src/debug.c index cd6573968..ecd7be11d 100644 --- a/src/debug.c +++ b/src/debug.c @@ -28,7 +28,7 @@ #include -static unsigned int debug_mask = 0xffffffff & ~(DMI|DMIB); +unsigned int debug_mask = 0xffffffff & ~(DMI|DMIB); struct debug_info { const char *name;