]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove bogus const annotations to hash iterator
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 14 Oct 2009 10:17:24 +0000 (11:17 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Oct 2009 15:24:12 +0000 (16:24 +0100)
commitcf577653dc39f3f8cb63c4c10608e7b3ea9c09da
treeb2968faa855d8a1b30cdee26baa3176e3b02a2ca
parentde2b252df5456ed9f1a5b4f696f4ba8c8748b8a0
Remove bogus const annotations to hash iterator

Most of the hash iterators need to modify either payload of
data args. The const annotation prevents this.

* src/util/hash.h, src/util/hash.c: Remove const-ness from
  virHashForEach/Iterator
* src/xen/xm_internal.c: Remove bogus casts
src/util/hash.c
src/util/hash.h
src/xen/xm_internal.c