aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/debug.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-20 13:16:26 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-20 13:56:45 +0200
commite78074eb07acd02308459b5e5a70622bdb73318b (patch)
treeddaac5ef8b620c4adfb74d73d9007d0e9cb45d1f /openbsc/include/openbsc/debug.h
parent5859de86deefd8cb2f5ae6f8a7bd8e9c4fd05e1f (diff)
[debug] Make the hexdump parameter const
This way it can be used from values coming TLVP_VAL.
Diffstat (limited to 'openbsc/include/openbsc/debug.h')
-rw-r--r--openbsc/include/openbsc/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index f99ce6081..089132ea9 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -30,7 +30,7 @@
#define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1];
-char *hexdump(unsigned char *buf, int len);
+char *hexdump(const unsigned char *buf, int len);
void debugp(unsigned int subsys, char *file, int line, int cont, const char *format, ...);
void debug_parse_category_mask(const char* mask);
void debug_use_color(int use_color);