Currently the order of virshXXXFree functions in the header file
does not correspond to the order in the corresponding .c file.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
tools/virsh-util.h | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/tools/virsh-util.h b/tools/virsh-util.h
index 6115b05d4d..f7e8116de3 100644
--- a/tools/virsh-util.h
+++ b/tools/virsh-util.h
@@ -40,16 +40,10 @@ virshCommandOptDomain(vshControl *ctl,
const char **name);
typedef virDomain virshDomain;
-
void
virshDomainFree(virDomainPtr dom);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomain, virshDomainFree);
-typedef virSecret virshSecret;
-void
-virshSecretFree(virSecretPtr secret);
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshSecret, virshSecretFree);
-
typedef virDomainCheckpoint virshDomainCheckpoint;
void
virshDomainCheckpointFree(virDomainCheckpointPtr chk);
@@ -60,6 +54,11 @@ void
virshDomainSnapshotFree(virDomainSnapshotPtr snap);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomainSnapshot, virshDomainSnapshotFree);
+typedef virSecret virshSecret;
+void
+virshSecretFree(virSecretPtr secret);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshSecret, virshSecretFree);
+
int
virshDomainState(vshControl *ctl,
virDomainPtr dom,
--
2.32.0