]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: simplify use of verify
authorEric Blake <eblake@redhat.com>
Fri, 26 Aug 2011 16:17:48 +0000 (10:17 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 30 Aug 2011 15:23:20 +0000 (09:23 -0600)
commit71a0beaf3a1243fd97ac2359c5f524897cfada36
tree60ef82edf65643224bd2c4f213a109ac07d5591c
parente6b8bc812af254f2ec6321b3cb7e9210b519deb0
build: simplify use of verify

Back in 2008 when this line of util.h was written, gnulib's verify
module didn't allow the use of multiple verify() in one file
in combination with our choice of gcc -W options.  But that has
since been fixed in gnulib, and newer gnulib even maps verify()
to the C1x feature of _Static_assert, which gives even nicer
diagnostics with a new enough compiler, so we might as well go
with the simpler verify().

* src/util/util.h (VIR_ENUM_IMPL): Use simpler verify, now that
gnulib module is smarter.
src/util/util.h