summaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorHarald Welte2011-02-08 16:56:23 +0100
committerHarald Welte2011-02-08 16:56:23 +0100
commitb05552b14c8ac5918c9d88a568bdfc85cfe45755 (patch)
tree2b94a4d6537ab629828cb18f6df3f6566354bbc3 /src/utils.c
parent[utils] add 'bitdump' function for bitfields (diff)
downloadlibosmocore-b05552b14c8ac5918c9d88a568bdfc85cfe45755.tar.gz
libosmocore-b05552b14c8ac5918c9d88a568bdfc85cfe45755.tar.xz
libosmocore-b05552b14c8ac5918c9d88a568bdfc85cfe45755.zip
[utils] introduce ubit_dump to dump buffers of unpacked bits
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 5200793..49c210e 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;