]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Move VIR_AUTOUNREF definition to virobject.h
authorPeter Krempa <pkrempa@redhat.com>
Wed, 3 Apr 2019 11:37:26 +0000 (13:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 5 Apr 2019 16:07:51 +0000 (18:07 +0200)
commit5cd017d563d201f1b46f9825eba846589ee170aa
treea0305aa53f366fb3e793d4787dbc6eaa70898ec3
parentdfa0011826d3304b8b63acef963237fe7a1dfe7a
util: Move VIR_AUTOUNREF definition to virobject.h

This helper has solely to do with virObjects. Move it together with
other virObject stuff.

This also avoids the potential problem where VIR_AUTOUNREF uses
virObjectAutoUnref which is defined in virobject.h.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/viralloc.h
src/util/virobject.h