diff options
-rw-r--r-- | include/openbsc/debug.h | 2 | ||||
-rw-r--r-- | src/debug.c | 2 | ||||
-rw-r--r-- | tests/debug/debug_test.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h index b3b170260..dcb74c03f 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 8a558c202..c1bebcab1 100644 --- a/src/debug.c +++ b/src/debug.c @@ -57,7 +57,7 @@ static int use_color = 1; * 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 4fe539c5a..77ac01532 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"); |