Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
tools/virsh-util.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/virsh-util.h b/tools/virsh-util.h
index ba79d04fb8..6115b05d4d 100644
--- a/tools/virsh-util.h
+++ b/tools/virsh-util.h
@@ -55,8 +55,10 @@ void
virshDomainCheckpointFree(virDomainCheckpointPtr chk);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomainCheckpoint, virshDomainCheckpointFree);
+typedef virDomainSnapshot virshDomainSnapshot;
void
virshDomainSnapshotFree(virDomainSnapshotPtr snap);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomainSnapshot, virshDomainSnapshotFree);
int
virshDomainState(vshControl *ctl,
--
2.31.1