[PATCH REBASE 4/7] qemuBuildMemoryBackendProps: Fix const correctness

Ján Tomko jtomko at redhat.com
Tue Sep 8 11:12:17 UTC 2020


On a Tuesday in 2020, Michal Privoznik wrote:
>The objects at @def and @mem pointers is only read and not
>written. Make the arguments const to make that explicit.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_command.c | 4 ++--
> src/qemu/qemu_command.h | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>

Better than nothing(TM).

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200908/8100e149/attachment-0001.sig>


More information about the libvir-list mailing list