• E
    maint: use hanging curly braces · 625e04a8
    Eric Blake 提交于
    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: NEric Blake <eblake@redhat.com>
    625e04a8
virfile.c 79.3 KB