summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent997aba8e257d183e978e9b08a26aceb4e905378d (diff)
downloadhqemu-3a8ae21bd07e8a02e6e2eb4896790a62f979acda.zip
hqemu-3a8ae21bd07e8a02e6e2eb4896790a62f979acda.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> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
-rw-r--r--include/qemu-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 7f18b8e..b9057d1 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -443,7 +443,7 @@ int mod_utf8_codepoint(const char *s, size_t n, char **end);
* Hexdump a buffer to a file. An optional string prefix is added to every line
*/
-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);
/* vector definitions */
#ifdef __ALTIVEC__
OpenPOWER on IntegriCloud