aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-02-22 15:11:59 +0000
committerDaniel P. Berrange <berrange@redhat.com>2011-02-25 13:00:54 +0000
commit16ba2aafc46ac23e2c51f14587d320e536d3af22 (patch)
tree6e3fdb1f448e0d844be41884a1488be501475590 /src/nwfilter/nwfilter_gentech_driver.c
parentRemove deallocator parameter from hash functions (diff)
downloadlibvirt-16ba2aafc46ac23e2c51f14587d320e536d3af22.tar.gz
libvirt-16ba2aafc46ac23e2c51f14587d320e536d3af22.tar.bz2
libvirt-16ba2aafc46ac23e2c51f14587d320e536d3af22.zip
Allow hash tables to use generic pointers as keys
Relax the restriction that the hash table key must be a string by allowing an arbitrary hash code generator + comparison func to be provided * util/hash.c, util/hash.h: Allow any pointer as a key * internal.h: Include stdbool.h as standard. * conf/domain_conf.c, conf/domain_conf.c, conf/nwfilter_params.c, nwfilter/nwfilter_gentech_driver.c, nwfilter/nwfilter_gentech_driver.h, nwfilter/nwfilter_learnipaddr.c, qemu/qemu_command.c, qemu/qemu_driver.c, qemu/qemu_process.c, uml/uml_driver.c, xen/xm_internal.c: s/char */void */ in hash callbacks
Diffstat (limited to 'src/nwfilter/nwfilter_gentech_driver.c')
-rw-r--r--src/nwfilter/nwfilter_gentech_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nwfilter/nwfilter_gentech_driver.c b/src/nwfilter/nwfilter_gentech_driver.c
index d81aac8bb..facad13d1 100644
--- a/src/nwfilter/nwfilter_gentech_driver.c
+++ b/src/nwfilter/nwfilter_gentech_driver.c
@@ -1012,7 +1012,7 @@ virNWFilterTeardownFilter(const virDomainNetDefPtr net)
void
virNWFilterDomainFWUpdateCB(void *payload,
- const char *name ATTRIBUTE_UNUSED,
+ const void *name ATTRIBUTE_UNUSED,
void *data)
{
virDomainObjPtr obj = payload;