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;