diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-07-30 11:40:32 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-07-30 11:40:32 +0200 |
commit | 40481e895453c53d71f2f254b931b77c830c9e0a (patch) | |
tree | 4699953396361534765d34db3cdf37b690fac6b3 /include | |
parent | 3eba991b3d005c3ae4aafe2235558a60e06b49f4 (diff) |
move hexdump() from logging.c to utils.c
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocore/logging.h | 1 | ||||
-rw-r--r-- | include/osmocore/utils.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocore/logging.h b/include/osmocore/logging.h index 2e82959a..7bf24403 100644 --- a/include/osmocore/logging.h +++ b/include/osmocore/logging.h @@ -21,7 +21,6 @@ #define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1]; -char *hexdump(const unsigned char *buf, int len); void logp(unsigned int subsys, char *file, int line, int cont, const char *format, ...) __attribute__ ((format (printf, 5, 6))); /* new logging interface */ diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h index c5b95bd3..07af1802 100644 --- a/include/osmocore/utils.h +++ b/include/osmocore/utils.h @@ -18,5 +18,6 @@ char bcd2char(uint8_t bcd); uint8_t char2bcd(char c); int hexparse(const char *str, uint8_t *b, int max_len); +char *hexdump(const unsigned char *buf, int len); #endif |