]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix recent build failures
authorEric Blake <eblake@redhat.com>
Fri, 12 Aug 2011 21:54:49 +0000 (15:54 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 12 Aug 2011 22:16:29 +0000 (16:16 -0600)
commitbe427e8b0b2bf119b2210d12d84348dc9bfdc3d4
tree3ddede0884e41a9f35cbaddcce65cb34617d8031
parentc8a3a265135a0527b46aeb0ebd39de8a03189fb0
build: fix recent build failures

With gcc 4.5.1:

util/virpidfile.c: In function 'virPidFileAcquirePath':
util/virpidfile.c:308:66: error: nested extern declaration of '_gl_verify_function2' [-Wnested-externs]

Then in tests/commandtest.c, the new virPidFile APIs need to be used.

* src/util/virpidfile.c (virPidFileAcquirePath): Move verify to
top level.
* tests/commandtest.c: Use new pid APIs.
src/util/virpidfile.c
tests/commandtest.c