From f3b3752a9eebae273da6580c182e9d1486e41ed9 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:39:54 -0800 Subject: arm11_sc7_action_t -> struct arm11_sc7_action Remove misleading typedef and redundant suffix from struct arm11_sc7_action. --- src/target/arm11_dbgtap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target/arm11_dbgtap.h') diff --git a/src/target/arm11_dbgtap.h b/src/target/arm11_dbgtap.h index 33ab3ddb..87b66a50 100644 --- a/src/target/arm11_dbgtap.h +++ b/src/target/arm11_dbgtap.h @@ -45,7 +45,7 @@ int arm11_add_ir_scan_vc(int num_fields, struct scan_field *fields, * Used with arm11_sc7_run to make a list of read/write commands for * scan chain 7 */ -typedef struct arm11_sc7_action_s +struct arm11_sc7_action { bool write; /**< Access mode: true for write, false for read. */ uint8_t address; /**< Register address mode. Use enum #arm11_sc7 */ @@ -54,10 +54,10 @@ typedef struct arm11_sc7_action_s * this receives the read value when the function returns. */ uint32_t value; -} arm11_sc7_action_t; +}; int arm11_sc7_run(struct arm11_common *arm11, - arm11_sc7_action_t *actions, size_t count); + struct arm11_sc7_action *actions, size_t count); /* Mid-level helper functions */ void arm11_sc7_clear_vbw(struct arm11_common *arm11); -- cgit v1.2.3