]> git.ipfire.org Git - thirdparty/libvirt.git/commit
parallels: fix build for some older compilers
authorLaine Stump <laine@laine.org>
Fri, 26 Oct 2012 17:23:56 +0000 (13:23 -0400)
committerLaine Stump <laine@laine.org>
Fri, 26 Oct 2012 17:23:56 +0000 (13:23 -0400)
commit73ebd86d7318960b22c3b0f1262cbbd770265c9c
tree22c8320fa3c6fdd11c3f9742f64c704af1071ec1
parent7083cdc7bd069c8dcfce8e3b1afb6af04f417086
parallels: fix build for some older compilers

Found this when building on RHEL5:

parallels/parallels_storage.c: In function 'parallelsStorageOpen':
parallels/parallels_storage.c:180: error: 'for' loop initial declaration used outside C99 mode

(and similar error in parallels_driver.c). This was in spite of
configuring with "-Wno-error".
src/parallels/parallels_driver.c
src/parallels/parallels_storage.c