diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 04:28:41 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:04 -0800 |
commit | 5874d5f2ea2ef9bd7d759d47ed868269ba99ab65 (patch) | |
tree | c75cc4fce955695a0634052d0ba1715723bc4930 /src/jtag/jtag.h | |
parent | 363d72a48457e03d2ffdbf9154b8ba3fdb9197d0 (diff) |
use struct jtag_tap_event_action
Remove useless typedef and redundant suffix from jtag_tap_event_action.
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 713823a2..e3f81489 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -143,8 +143,6 @@ struct scan_field { uint8_t intmp[4]; }; -typedef struct jtag_tap_event_action_s jtag_tap_event_action_t; - struct jtag_tap { const char* chip; const char* tapname; @@ -174,7 +172,7 @@ struct jtag_tap { /// Bypass register selected int bypass; - jtag_tap_event_action_t *event_action; + struct jtag_tap_event_action *event_action; struct jtag_tap* next_tap; }; @@ -220,11 +218,11 @@ enum jtag_event { JTAG_TAP_EVENT_DISABLE, }; -struct jtag_tap_event_action_s +struct jtag_tap_event_action { enum jtag_event event; Jim_Obj* body; - jtag_tap_event_action_t* next; + struct jtag_tap_event_action* next; }; /** |