Basically a v2 of:
https://www.redhat.com/archives/libvir-list/2014-March/msg00987.html
with way more tuned regexp, wrapped lines, syntax-check and so on.
Martin Kletzander (16):
Use K&R style for curly braces in tests/
Use K&R style for curly braces in src/xen*/
Use K&R style for curly braces in src/util/
Use K&R style for curly braces in src/rpc/
Use K&R style for curly braces in src/conf/
Use K&R style for curly braces in src/qemu/
Use K&R style for curly braces in src/storage/
Use K&R style for curly braces in src/openvz/
Use K&R style for curly braces in src/nwfilter/
Use K&R style for curly braces in src/test/test_driver.c
Use K&R style for curly braces in src/uml/
Use K&R style for curly braces in src/lxc/lxc_driver.c
Use K&R style for curly braces in src/network/bridge_driver.c
Use K&R style for curly braces in src/vbox/
Use K&R style for curly braces in remaining files
Require K&R styled curly braces around function bodies
cfg.mk | 7 ++
daemon/libvirtd-config.c | 9 +-
docs/internals/command.html.in | 3 +-
examples/dominfo/info1.c | 7 +-
src/conf/domain_conf.c | 9 +-
src/conf/domain_nwfilter.c | 13 ++-
src/conf/interface_conf.c | 54 ++++++---
src/conf/nwfilter_conf.c | 30 +++--
src/conf/nwfilter_params.c | 3 +-
src/interface/interface_backend_netcf.c | 8 +-
src/interface/interface_backend_udev.c | 4 +-
src/interface/interface_driver.c | 4 +-
src/libxl/libxl_driver.c | 3 +-
src/lxc/lxc_driver.c | 30 +++--
src/network/bridge_driver.c | 54 ++++++---
src/node_device/node_device_driver.c | 5 +-
src/nwfilter/nwfilter_driver.c | 32 +++--
src/nwfilter/nwfilter_ebiptables_driver.c | 3 +-
src/nwfilter/nwfilter_learnipaddr.c | 41 ++++---
src/openvz/openvz_conf.c | 15 ++-
src/openvz/openvz_driver.c | 45 ++++---
src/qemu/qemu_agent.c | 5 +-
src/qemu/qemu_command.c | 6 +-
src/qemu/qemu_driver.c | 94 ++++++++++-----
src/qemu/qemu_migration.c | 3 +-
src/qemu/qemu_monitor.c | 3 +-
src/qemu/qemu_monitor_json.c | 3 +-
src/qemu/qemu_monitor_text.c | 20 +++-
src/rpc/virnetserver.c | 8 +-
src/rpc/virnetserverclient.c | 5 +-
src/rpc/virnettlscontext.c | 5 +-
src/secret/secret_driver.c | 8 +-
src/security/security_stack.c | 8 +-
src/storage/storage_backend_fs.c | 12 +-
src/storage/storage_driver.c | 78 ++++++++-----
src/test/test_driver.c | 135 ++++++++++++++-------
src/uml/uml_conf.c | 5 +-
src/uml/uml_driver.c | 78 ++++++++-----
src/util/vircgroup.c | 9 +-
src/util/virconf.c | 5 +-
src/util/virdbus.c | 8 +-
src/util/virerror.c | 3 +-
src/util/vireventpoll.c | 29 +++--
src/util/virhook.c | 11 +-
src/util/virnetdevvportprofile.c | 5 +-
src/util/virrandom.c | 5 +-
src/util/virsocketaddr.c | 26 +++--
src/util/virsysinfo.c | 15 ++-
src/util/virthread.c | 5 +-
src/util/virutil.c | 20 ++--
src/util/virutil.h | 12 +-
src/util/viruuid.c | 5 +-
src/vbox/vbox_driver.c | 5 +-
src/vbox/vbox_tmpl.c | 188 ++++++++++++++++++++----------
src/xen/xen_driver.c | 6 +-
src/xen/xen_hypervisor.c | 5 +-
src/xen/xm_internal.c | 10 +-
src/xenapi/xenapi_utils.c | 5 +-
src/xenxs/xen_xm.c | 35 ++++--
tests/commandhelper.c | 5 +-
tests/qemuargv2xmltest.c | 3 +-
tests/shunloadhelper.c | 5 +-
tests/testutils.c | 15 ++-
tests/testutilslxc.c | 3 +-
tests/testutilsqemu.c | 3 +-
tests/testutilsxen.c | 3 +-
tests/virshtest.c | 54 ++++++---
tests/virusbtest.c | 3 +-
tests/xencapstest.c | 33 ++++--
69 files changed, 929 insertions(+), 465 deletions(-)
--
1.9.0