libvirt/src/vz
Cole Robinson af36f8a641 Require a semicolon for VIR_ONCE_GLOBAL_INIT calls
Missing semicolon at the end of macros can confuse some analyzers
(like cppcheck <filename>). VIR_ONCE_GLOBAL_INIT is almost
exclusively called without an ending semicolon, but let's
standardize on using one like the other macros.

Add a dummy struct definition at the end of the macro, so
the compiler will require callers to add a semicolon.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2019-02-03 17:46:29 -05:00
..
Makefile.inc.am make: split vz driver build rules into vz/Makefile.inc.am 2018-02-23 13:14:26 +00:00
vz_driver.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
vz_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
vz_sdk.c lib: Use more of VIR_STEAL_PTR() 2019-01-28 14:46:58 +01:00
vz_sdk.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
vz_utils.c conf: Rework/rename virDomainObjListFindByUUIDRef 2018-04-23 06:41:45 -04:00
vz_utils.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00