]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Move the VIR_AUTO(CLEAN|PTR) helper macros into a separate header
authorPeter Krempa <pkrempa@redhat.com>
Mon, 1 Apr 2019 13:14:30 +0000 (15:14 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 10 Apr 2019 07:12:03 +0000 (09:12 +0200)
commita4bfc2521f8aeff8f4e4431a8e2332cc74806b8a
tree64eef0648025c31fd4755d72fa63a551cd84d7d6
parent9895f00126f027cdd330800064773d2c260360f1
util: Move the VIR_AUTO(CLEAN|PTR) helper macros into a separate header

Keeping them with viralloc.h forcibly pulls in the other stuff from
viralloc.h into other header files. This in turn creates a mess
as more and more headers pull in the 'viral' header file.

If we want to make 'viralloc.h' omnipresent we should pick a different
approach.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
31 files changed:
src/Makefile.am
src/conf/domain_capabilities.h
src/conf/storage_conf.h
src/qemu/qemu_firmware.h
src/qemu/qemu_migration_params.h
src/util/Makefile.inc.am
src/util/viralloc.h
src/util/virauthconfig.h
src/util/virautoclean.h [new file with mode: 0644]
src/util/virbitmap.h
src/util/virbuffer.h
src/util/vircommand.h
src/util/virerror.h
src/util/virfile.h
src/util/virfirewall.h
src/util/virhash.h
src/util/virjson.h
src/util/virmacaddr.h
src/util/virmdev.h
src/util/virnetdev.h
src/util/virnetdevip.h
src/util/virnetdevvlan.h
src/util/virnetlink.h
src/util/virpci.h
src/util/virperf.h
src/util/virscsi.h
src/util/virscsivhost.h
src/util/virsocketaddr.h
src/util/virstoragefile.h
src/util/virusb.h
src/util/virxml.h