From 3568ac2a6e6df89cea52a56f70b95af9e1251bbd Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 16 May 2013 11:32:28 -0400 Subject: 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 Reviewed-by: Paolo Bonzini Message-id: 1368718348-15199-1-git-send-email-emaste@freebsd.org Signed-off-by: Anthony Liguori --- include/qemu-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/qemu-common.h') 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__ -- cgit v1.2.3