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

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



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


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