aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/debug.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-28 13:08:01 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-28 13:08:01 +0000
commit3cc4bf517f4eb7f5ab0dd9e02cf7a7bc3106e1ff (patch)
tree6743514de65bc3ba99cd1f94634940c6117d04ab /include/openbsc/debug.h
parent51f38457e54a9d8c50d7d77e9b7e92465475cf84 (diff)
make hexdump return a 'char *' rather than printing by itself
Diffstat (limited to 'include/openbsc/debug.h')
-rw-r--r--include/openbsc/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h
index e42c9f192..ec9cbbb3c 100644
--- a/include/openbsc/debug.h
+++ b/include/openbsc/debug.h
@@ -27,7 +27,7 @@
#define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1];
-void hexdump(unsigned char *buf, int len);
+char *hexdump(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);