diff options
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; }; |