diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-02 05:30:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-02 05:30:16 +0000 |
commit | 12c4cbd553579257a4902267b2301984434cec7b (patch) | |
tree | b6228ef9e739eb92a626f7d837f223f812ec2b28 /sim/common/hw-ports.c | |
parent | 4368ebebd815a95ace43dba87fbe800a37d314cf (diff) | |
download | gdb-12c4cbd553579257a4902267b2301984434cec7b.zip gdb-12c4cbd553579257a4902267b2301984434cec7b.tar.gz gdb-12c4cbd553579257a4902267b2301984434cec7b.tar.bz2 |
sim: fix up style a bit
This touches up the code a bit to match GNU style. No functional changes.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/hw-ports.c')
-rw-r--r-- | sim/common/hw-ports.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sim/common/hw-ports.c b/sim/common/hw-ports.c index 7a0503e..1687caf 100644 --- a/sim/common/hw-ports.c +++ b/sim/common/hw-ports.c @@ -37,7 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <ctype.h> -struct hw_port_edge { +struct hw_port_edge +{ int my_port; struct hw *dest; int dest_port; @@ -45,13 +46,15 @@ struct hw_port_edge { object_disposition disposition; }; -struct hw_port_data { +struct hw_port_data +{ hw_port_event_method *to_port_event; const struct hw_port_descriptor *ports; struct hw_port_edge *edges; }; -const struct hw_port_descriptor empty_hw_ports[] = { +const struct hw_port_descriptor empty_hw_ports[] = +{ { NULL, 0, 0, 0 }, }; |