]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Rename 'index' in virCapabilitiesGetCpusForNode
authorJán Tomko <jtomko@redhat.com>
Tue, 11 Feb 2014 15:35:33 +0000 (16:35 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 11 Feb 2014 15:35:33 +0000 (16:35 +0100)
commit47fa97a7998531a82313c3d529a373cfd5358860
tree92a875df579900e02ab4406d8cdfe523430b79ac
parenteb64e8752b551678d9ec88706039c94ab5ce2fea
Rename 'index' in virCapabilitiesGetCpusForNode

This shadows the index function on some systems (RHEL-6.4, FreeBSD 9):
../../src/conf/capabilities.c: In function 'virCapabilitiesGetCpusForNode':
../../src/conf/capabilities.c:1005: warning: declaration of'index'
      shadows a global declaration [-Wshadow]
/usr/include/strings.h:57: warning: shadowed declaration is here [-Wshadow]
src/conf/capabilities.c