mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
virsh-util.h: Fix ordering of virshXXXFree functions
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@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
f60bc4f620
commit
0c43fcddf2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user