Prefix debug symbols with debug_ to reduce the namesapce pollution
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h
index b3b1702..dcb74c0 100644
--- a/include/openbsc/debug.h
+++ b/include/openbsc/debug.h
@@ -18,6 +18,6 @@
 #endif
 
 void debugp(unsigned int subsys, char *file, int line, const char *format, ...);
-void parse_category_mask(const char* mask);
+void debug_parse_category_mask(const char* mask);
 
 #endif /* _DEBUG_H */
diff --git a/src/debug.c b/src/debug.c
index 8a558c2..c1bebca 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -57,7 +57,7 @@
  * Parse the category mask.
  * category1:category2:category3
  */
-void parse_category_mask(const char *_mask)
+void debug_parse_category_mask(const char *_mask)
 {
 	unsigned int new_mask = 0;
 	int i = 0;
diff --git a/tests/debug/debug_test.c b/tests/debug/debug_test.c
index 4fe539c..77ac015 100644
--- a/tests/debug/debug_test.c
+++ b/tests/debug/debug_test.c
@@ -24,10 +24,10 @@
 
 int main(int argc, char** argv)
 {
-    parse_category_mask("DRLL");
+    debug_parse_category_mask("DRLL");
     DEBUGP(DCC, "You should not see this\n");
 
-    parse_category_mask("DRLL:DCC");
+    debug_parse_category_mask("DRLL:DCC");
     DEBUGP(DRLL, "You should see this\n");
     DEBUGP(DCC, "You should see this\n");
     DEBUGP(DMM, "You should not see this\n");