libvirt/src/interface
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
..
interface_backend_netcf.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
interface_backend_udev.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
interface_driver.c Use K&R style for curly braces in remaining files 2014-03-20 17:27:17 +01:00
interface_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
Makefile.inc.am make: split interface driver build rules into interface/Makefile.inc.am 2018-03-05 17:08:35 +00:00