summaryrefslogtreecommitdiff
path: root/tests/testutilsqemu.h
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2020-10-22 19:04:18 +0200
committerPeter Krempa <pkrempa@redhat.com>2020-11-06 10:40:51 +0100
commit62a01d84a334425c7e005742092644a75f06d561 (patch)
treefb71e20cd96af8d8c4d7d07c14b3fd0626708f20 /tests/testutilsqemu.h
parentde41e74bbc4d24c9a3ddc5340f69285e5927d05a (diff)
downloadlibvirt-62a01d84a334425c7e005742092644a75f06d561.tar.gz
util: hash: Retire 'virHashTable' in favor of 'GHashTable'
Don't hide our use of GHashTable behind our typedef. This will also promote the use of glibs hash function directly. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Matt Coleman <matt@datto.com>
Diffstat (limited to 'tests/testutilsqemu.h')
-rw-r--r--tests/testutilsqemu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testutilsqemu.h b/tests/testutilsqemu.h
index 79af1be50d..0c6f0ea378 100644
--- a/tests/testutilsqemu.h
+++ b/tests/testutilsqemu.h
@@ -96,7 +96,7 @@ int testQemuCapsSetGIC(virQEMUCapsPtr qemuCaps,
char *testQemuGetLatestCapsForArch(const char *arch,
const char *suffix);
-virHashTablePtr testQemuGetLatestCaps(void);
+GHashTable *testQemuGetLatestCaps(void);
typedef int (*testQemuCapsIterateCallback)(const char *inputDir,
const char *prefix,
@@ -109,7 +109,7 @@ int testQemuCapsIterate(const char *suffix,
void *opaque);
int testQemuInfoSetArgs(struct testQemuInfo *info,
- virHashTablePtr capslatest, ...);
+ GHashTable *capslatest, ...);
void testQemuInfoClear(struct testQemuInfo *info);
#endif