summaryrefslogtreecommitdiffstats
path: root/include/qemu-common.h
diff options
context:
space:
mode:
authorEd Maste2013-05-16 17:32:28 +0200
committerAnthony Liguori2013-05-20 15:20:08 +0200
commit3568ac2a6e6df89cea52a56f70b95af9e1251bbd (patch)
tree40bd6cfd8072dc1dbedee93799123d1f2bfde90c /include/qemu-common.h
parentvl: new runstate transition: RUN_STATE_GUEST_PANICKED -> RUN_STATE_FINISH_MIG... (diff)
downloadqemu-3568ac2a6e6df89cea52a56f70b95af9e1251bbd.tar.gz
qemu-3568ac2a6e6df89cea52a56f70b95af9e1251bbd.tar.xz
qemu-3568ac2a6e6df89cea52a56f70b95af9e1251bbd.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> Message-id: 1368718348-15199-1-git-send-email-emaste@freebsd.org Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/qemu-common.h')
-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 7f18b8e1f9..b9057d18cf 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__