]> 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)
committerCole Robinson <crobinso@redhat.com>
Sat, 27 Oct 2012 19:16:53 +0000 (15:16 -0400)
commit93ac917c954eb954d042aaed306387f051637fd8
tree33a9ddd775fb03f07e93fb8c218d9ce6f8b8cfa8
parent9a9527d21f7bb23be81a08c51adf51a84223aadf
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".
(cherry picked from commit 73ebd86d7318960b22c3b0f1262cbbd770265c9c)
src/parallels/parallels_driver.c
src/parallels/parallels_storage.c