From 16bbe4fb88659f646739cf754e280928f6f9b06b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 20 Dec 2016 00:19:13 +0800 Subject: [PATCH] do not redefine GHashTable --- qemu/glib_compat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/glib_compat.c b/qemu/glib_compat.c index 1e761443..1930ce56 100644 --- a/qemu/glib_compat.c +++ b/qemu/glib_compat.c @@ -383,7 +383,7 @@ typedef struct _KeyValue { void *value; } KeyValue; -typedef struct _GHashTable { +struct _GHashTable { GHashFunc hash_func; GEqualFunc key_equal_func; GDestroyNotify key_destroy_func; @@ -392,7 +392,7 @@ typedef struct _GHashTable { uint32_t size; uint32_t num_entries; GSList **buckets; -} GHashTable; +}; void g_hash_table_destroy(GHashTable *hash_table) {