mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
conf: Make argument of virDomainDiskGetDriver const
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
71872d8224
commit
97a467b3c4
@ -1846,7 +1846,7 @@ virDomainDiskEmptySource(virDomainDiskDefPtr def)
|
||||
|
||||
|
||||
const char *
|
||||
virDomainDiskGetDriver(virDomainDiskDefPtr def)
|
||||
virDomainDiskGetDriver(const virDomainDiskDef *def)
|
||||
{
|
||||
return def->src->driverName;
|
||||
}
|
||||
|
@ -2765,7 +2765,7 @@ const char *virDomainDiskGetSource(virDomainDiskDef const *def);
|
||||
int virDomainDiskSetSource(virDomainDiskDefPtr def, const char *src)
|
||||
ATTRIBUTE_RETURN_CHECK;
|
||||
void virDomainDiskEmptySource(virDomainDiskDefPtr def);
|
||||
const char *virDomainDiskGetDriver(virDomainDiskDefPtr def);
|
||||
const char *virDomainDiskGetDriver(const virDomainDiskDef *def);
|
||||
int virDomainDiskSetDriver(virDomainDiskDefPtr def, const char *name)
|
||||
ATTRIBUTE_RETURN_CHECK;
|
||||
int virDomainDiskGetFormat(virDomainDiskDefPtr def);
|
||||
|
Loading…
Reference in New Issue
Block a user