diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 03:16:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 03:16:17 +0000 |
commit | 028f6515424e832ee10a1e4cb1f96ea241e2acae (patch) | |
tree | c8ce68621a3ed2425b8dde4e2f523cbae0bf11fe /sim/common/hw-base.c | |
parent | 7f35e991971df570411a2688b948cd72adb4cf90 (diff) | |
download | gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.zip gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.gz gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.bz2 |
sim: common: trim trailing whitespace
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r-- | sim/common/hw-base.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c index 364dc4d..4fe3bde 100644 --- a/sim/common/hw-base.c +++ b/sim/common/hw-base.c @@ -313,7 +313,7 @@ full_name_of_hw (struct hw *leaf, strcat (buf, hw_name (leaf)); strcat (buf, unit); } - + /* return it usefully */ if (buf == full_name) buf = hw_strdup (leaf, full_name); @@ -362,7 +362,7 @@ hw_create (struct sim_state *sd, root = root->parent_of_hw; hw->root_of_hw = root; } - + /* a unique identifier for the device on the parents bus */ if (parent != NULL) { @@ -424,7 +424,7 @@ hw_create (struct sim_state *sd, create_hw_event_data (hw); create_hw_handle_data (hw); create_hw_instance_data (hw); - + return hw; } @@ -461,7 +461,7 @@ hw_finish (struct hw *me) && hw_find_property (hw_root (me), "global-trace?") != NULL && hw_find_boolean_property (hw_root (me), "global-trace?")) me->trace_of_hw_p = 1; - + /* Allow the real device to override any methods */ me->base_of_hw->descriptor->to_finish (me); |