diff options
-rw-r--r-- | include/osmocore/utils.h | 2 | ||||
-rw-r--r-- | src/utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h index da4eb959..6fe1b388 100644 --- a/include/osmocore/utils.h +++ b/include/osmocore/utils.h @@ -20,7 +20,7 @@ uint8_t char2bcd(char c); int hexparse(const char *str, uint8_t *b, int max_len); char *hexdump(const unsigned char *buf, int len); char *hexdump_nospc(const unsigned char *buf, int len); -char *bitdump(const uint8_t *bits, unsigned int len); +char *ubit_dump(const uint8_t *bits, unsigned int len); #define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1]; diff --git a/src/utils.c b/src/utils.c index 52007931..49c210e0 100644 --- a/src/utils.c +++ b/src/utils.c @@ -95,7 +95,7 @@ static char *_hexdump(const unsigned char *buf, int len, char *delim) return hexd_buff; } -char *bitdump(const uint8_t *bits, unsigned int len) +char *ubit_dump(const uint8_t *bits, unsigned int len) { int i; |