]> git.proxmox.com Git - mirror_ovs.git/commit
connmgr: Modernize coding style.
authorBen Pfaff <blp@ovn.org>
Thu, 25 Oct 2018 17:34:41 +0000 (10:34 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 31 Oct 2018 20:32:24 +0000 (13:32 -0700)
commitda0158d193c1fc0144173e17fc6f112f4397525d
tree734db07b9a32433b1f7267bdab6864afa6ffdada
parente6530a8d5d03d9413fa49653f111fd7457f97865
connmgr: Modernize coding style.

This moves declarations closer to first use and merges them with
initialization when possible, moves "for" loop variable declarations into
the "for" statements where possible, and otherwise makes this code look
like it was written a little more recently than it was.

Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/connmgr.c