aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-handles.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-02 05:30:16 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-02 05:30:16 +0000
commit12c4cbd553579257a4902267b2301984434cec7b (patch)
treeb6228ef9e739eb92a626f7d837f223f812ec2b28 /sim/common/hw-handles.c
parent4368ebebd815a95ace43dba87fbe800a37d314cf (diff)
downloadgdb-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-handles.c')
-rw-r--r--sim/common/hw-handles.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/hw-handles.c b/sim/common/hw-handles.c
index fb1fe49..c8284da 100644
--- a/sim/common/hw-handles.c
+++ b/sim/common/hw-handles.c
@@ -24,7 +24,8 @@
#include "hw-base.h"
-struct hw_handle_mapping {
+struct hw_handle_mapping
+{
cell_word external;
struct hw *phandle;
struct hw_instance *ihandle;
@@ -32,7 +33,8 @@ struct hw_handle_mapping {
};
-struct hw_handle_data {
+struct hw_handle_data
+{
int nr_mappings;
struct hw_handle_mapping *mappings;
};