[libvirt] [PATCH 0/5] Prohibit use of 'index' for variable

John Ferlan jferlan at redhat.com
Tue Apr 14 11:54:56 UTC 2015


Given the recent Xen-devel build failure/issue - this series of patches
will remove our uses of '[unsigned] int index' and then generate a rule
for it

John Ferlan (5):
  qemu: Adjust the prototype to match the function
  util: Use 'idx' instead of 'index'
  snapshot: Change 'index' to 'idx'
  nwfilter: Change 'index' to 'idx'
  cfg: Disallow usage of 'index' as variable name

 cfg.mk                     | 5 +++++
 src/conf/nwfilter_params.c | 8 ++++----
 src/conf/nwfilter_params.h | 2 +-
 src/conf/snapshot_conf.c   | 6 +++---
 src/conf/snapshot_conf.h   | 2 +-
 src/qemu/qemu_conf.h       | 2 +-
 src/qemu/qemu_driver.c     | 4 ++--
 src/util/virnetdev.c       | 4 ++--
 8 files changed, 19 insertions(+), 14 deletions(-)

-- 
2.1.0




More information about the libvir-list mailing list