summaryrefslogtreecommitdiff
path: root/util/hexdump.c
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-05-16 11:32:28 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2013-05-18 16:35:12 +0400
commit3a8ae21bd07e8a02e6e2eb4896790a62f979acda (patch)
tree996e59913413d78e46fb340fb3b1eff243cd7667 /util/hexdump.c
parent997aba8e257d183e978e9b08a26aceb4e905378d (diff)
downloadqemu-3a8ae21bd07e8a02e6e2eb4896790a62f979acda.zip
Rename hexdump to avoid FreeBSD libutil conflict
On FreeBSD libutil is used for openpty(), but it also provides a hexdump() which conflicts with QEMU's. Signed-off-by: Ed Maste <emaste@freebsd.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'util/hexdump.c')
-rw-r--r--util/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/hexdump.c b/util/hexdump.c
index 0d0efc86de..969b3406c0 100644
--- a/util/hexdump.c
+++ b/util/hexdump.c
@@ -15,7 +15,7 @@
#include "qemu-common.h"
-void hexdump(const char *buf, FILE *fp, const char *prefix, size_t size)
+void qemu_hexdump(const char *buf, FILE *fp, const char *prefix, size_t size)
{
unsigned int b;