[PATCH 0/4] Resolve const correctness isues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Okay, okay. The approach in 4/4 can be considered hackish, but hey - it works!

Michal Privoznik (4):
  Fix const correctness
  viralloc: Honor const correctness in VIR_FREE
  VIR_FREE: Avoid doing side work in callees
  virFree: Check const correctness

 src/conf/network_conf.c              | 12 ++++++++----
 src/locking/lock_driver_lockd.c      |  2 +-
 src/qemu/qemu_capabilities.c         |  2 +-
 src/remote/remote_driver.c           |  2 +-
 src/util/viralloc.c                  |  6 ++++--
 src/util/viralloc.h                  | 33 ++++++++++++++++-----------------
 src/xenapi/xenapi_utils.c            |  3 ++-
 tools/virsh-domain.c                 |  4 ++--
 tools/wireshark/src/packet-libvirt.c |  6 +++---
 tools/wireshark/src/packet-libvirt.h |  4 ++--
 10 files changed, 40 insertions(+), 34 deletions(-)

-- 
1.8.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]