]> xenbits.xensource.com Git - libvirt.git/commit
maint: use hanging curly braces
authorEric Blake <eblake@redhat.com>
Wed, 3 Sep 2014 22:24:43 +0000 (16:24 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 4 Sep 2014 21:18:43 +0000 (15:18 -0600)
commit625e04a86e79c9bcf5bb29c942b65b19c1d09dbb
treea80406f62f80116b1a6d2410c71b89d06eefdd52
parent143cfa8ee882a81207d90cb56cd9fb8065ac1c78
maint: use hanging curly braces

Our style overwhelmingly uses hanging braces (the open brace
hangs at the end of the compound condition, rather than on
its own line), with the primary exception of the top level function
body.  Fix the few remaining outliers, before adding a syntax
check in a later patch.

* src/interface/interface_backend_netcf.c (netcfStateReload)
(netcfInterfaceClose, netcf_to_vir_err): Correct use of { in
compound statement.
* src/conf/domain_conf.c (virDomainHostdevDefFormatSubsys)
(virDomainHostdevDefFormatCaps): Likewise.
* src/network/bridge_driver.c (networkAllocateActualDevice):
Likewise.
* src/util/virfile.c (virBuildPathInternal): Likewise.
* src/util/virnetdev.c (virNetDevGetVirtualFunctions): Likewise.
* src/util/virnetdevmacvlan.c
(virNetDevMacVLanVPortProfileCallback): Likewise.
* src/util/virtypedparam.c (virTypedParameterAssign): Likewise.
* src/util/virutil.c (virGetWin32DirectoryRoot)
(virFileWaitForDevices): Likewise.
* src/vbox/vbox_common.c (vboxDumpNetwork): Likewise.
* tests/seclabeltest.c (main): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/conf/domain_conf.c
src/interface/interface_backend_netcf.c
src/network/bridge_driver.c
src/util/virfile.c
src/util/virnetdev.c
src/util/virnetdevmacvlan.c
src/util/virtypedparam.c
src/util/virutil.c
src/vbox/vbox_common.c
tests/seclabeltest.c