summaryrefslogtreecommitdiffstats
path: root/util/hexdump.c
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-05-16 11:32:28 -0400
committerAnthony Liguori <aliguori@us.ibm.com>2013-05-20 08:20:08 -0500
commit3568ac2a6e6df89cea52a56f70b95af9e1251bbd (patch)
tree40bd6cfd8072dc1dbedee93799123d1f2bfde90c /util/hexdump.c
parentfd2a2e1c552cb47ca196552457e175c889b58478 (diff)
downloadhqemu-3568ac2a6e6df89cea52a56f70b95af9e1251bbd.zip
hqemu-3568ac2a6e6df89cea52a56f70b95af9e1251bbd.tar.gz
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> Message-id: 1368718348-15199-1-git-send-email-emaste@freebsd.org Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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 0d0efc8..969b340 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;
OpenPOWER on IntegriCloud