From 3cc4bf517f4eb7f5ab0dd9e02cf7a7bc3106e1ff Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 28 Feb 2009 13:08:01 +0000 Subject: make hexdump return a 'char *' rather than printing by itself --- include/openbsc/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/openbsc/debug.h') 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); -- cgit v1.2.3