libvirt/src/locking
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
..
domain_lock.c locking: Use virDomainLockImage[Attach|Detach] instead of *Disk 2019-01-30 17:20:38 +01:00
domain_lock.h locking: Use virDomainLockImage[Attach|Detach] instead of *Disk 2019-01-30 17:20:38 +01:00
libvirt_lockd.aug
libvirt_sanlock.aug
lock_daemon_config.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lock_daemon_config.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_daemon_dispatch.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lock_daemon_dispatch.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_daemon.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
lock_daemon.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_driver_lockd.c storage: Rework virStorageBackendSCSISerial 2019-02-01 10:30:45 -05:00
lock_driver_lockd.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_driver_nop.c src: remove blank first line in function body 2018-09-17 13:29:01 +02:00
lock_driver_nop.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_driver_sanlock.c Revert "lock_driver: Introduce new VIR_LOCK_MANAGER_OBJECT_TYPE_DAEMON" 2018-11-16 13:42:39 +01:00
lock_driver.h Drop UML driver 2018-12-17 17:52:46 +01:00
lock_manager.c Revert "lock_manager: Allow disabling configFile for virLockManagerPluginNew" 2018-11-16 13:42:39 +01:00
lock_manager.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_protocol.x
lockd.conf
Makefile.inc.am locking: don't create qemu-sanlock.conf file when QEMU isn't enabled 2018-07-18 18:46:32 +01:00
sanlock_helper.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
sanlock.conf
test_libvirt_lockd.aug.in
test_libvirt_sanlock.aug.in
test_virtlockd.aug.in
virtlockd-admin.socket.in
virtlockd.aug
virtlockd.conf
virtlockd.init.in
virtlockd.pod
virtlockd.service.in
virtlockd.socket.in
virtlockd.sysconf