libvirt/src/access
Cole Robinson 6a4d938dd3 Require a semicolon for VIR_ENUM_IMPL calls
Missing semicolon at the end of macros can confuse some analyzers
(like cppcheck <filename>), and we have a mix of semicolon and
non-semicolon usage through the code. Let's standardize on using
a semicolon for VIR_ENUM_IMPL calls.

Move the verify() statement to the end of the macro and drop
the semicolon, so the compiler will require callers to add a
semicolon.

While we are touching these call sites, standardize on putting
the closing parenth on its own line, as discussed here:
https://www.redhat.com/archives/libvir-list/2019-January/msg00750.html

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2019-02-03 17:46:29 -05:00
..
genpolkit.pl access: Fix nwfilter-binding ACL access API name generation 2018-08-24 08:04:14 -04:00
Makefile.inc.am Merge WITH_POLKIT1 and WITH_POLKIT 2018-03-14 12:46:26 +01:00
viraccessdriver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viraccessdrivernop.c access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessdrivernop.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viraccessdriverpolkit.c access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessdriverpolkit.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viraccessdriverstack.c access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessdriverstack.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viraccessmanager.c access: Modify the VIR_ERR_ACCESS_DENIED to include driverName 2018-11-14 14:06:43 -05:00
viraccessmanager.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
viraccessperm.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
viraccessperm.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00