mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 09:53:10 +00:00
qemu: different declarations for the same method
Recently, this warning is appearing while libvirt is being compiled: Function 'qemuAssignDeviceDiskAlias' argument order different: declaration 'vmdef, def' definition 'def, disk' This commit change the default declaration for qemuAssignDeviceDiskAlias specified at src/qemu/qemu_alias.c. Signed-off-by: Julio Faracco <jcfaracco@gmail.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
bf1b24514b
commit
dff3fab47f
@ -38,8 +38,8 @@ int qemuAssignDeviceControllerAlias(virDomainDefPtr domainDef,
|
||||
virQEMUCapsPtr qemuCaps,
|
||||
virDomainControllerDefPtr controller);
|
||||
|
||||
int qemuAssignDeviceDiskAlias(virDomainDefPtr vmdef,
|
||||
virDomainDiskDefPtr def);
|
||||
int qemuAssignDeviceDiskAlias(virDomainDefPtr def,
|
||||
virDomainDiskDefPtr disk);
|
||||
|
||||
int qemuAssignDeviceHostdevAlias(virDomainDefPtr def,
|
||||
char **alias,
|
||||
|
Loading…
Reference in New Issue
Block a user