The @mem agrument of qemuBuildMemoryDeviceProps() function is
only read from. Make this fact obvious from the function
declaration too.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
virJSONValue *
qemuBuildMemoryDeviceProps(const virDomainDef *def,
- virDomainMemoryDef *mem)
+ const virDomainMemoryDef *mem)
{
g_autoptr(virJSONValue) props = NULL;
const char *device = NULL;
virJSONValue *
qemuBuildMemoryDeviceProps(const virDomainDef *def,
- virDomainMemoryDef *mem);
+ const virDomainMemoryDef *mem);
/* Current, best practice */
virJSONValue *