diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-02-28 13:08:01 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-02-28 13:08:01 +0000 |
commit | 3cc4bf517f4eb7f5ab0dd9e02cf7a7bc3106e1ff (patch) | |
tree | 6743514de65bc3ba99cd1f94634940c6117d04ab /include | |
parent | 51f38457e54a9d8c50d7d77e9b7e92465475cf84 (diff) |
make hexdump return a 'char *' rather than printing by itself
Diffstat (limited to 'include')
-rw-r--r-- | include/openbsc/debug.h | 2 |
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); |