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-events.c | |
parent | 4368ebebd815a95ace43dba87fbe800a37d314cf (diff) | |
download | binutils-12c4cbd553579257a4902267b2301984434cec7b.zip binutils-12c4cbd553579257a4902267b2301984434cec7b.tar.gz binutils-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-events.c')
-rw-r--r-- | sim/common/hw-events.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/hw-events.c b/sim/common/hw-events.c index a1b9063..544576b 100644 --- a/sim/common/hw-events.c +++ b/sim/common/hw-events.c @@ -27,7 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* The hw-events object is implemented using sim-events */ -struct hw_event { +struct hw_event +{ void *data; struct hw *me; hw_event_callback *callback; @@ -35,7 +36,8 @@ struct hw_event { struct hw_event_data *entry; }; -struct hw_event_data { +struct hw_event_data +{ struct hw_event event; struct hw_event_data *next; }; |