From ffc77b61ddb4407f6c6dcd6188a07d5c630a2780 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 05:23:12 -0800 Subject: [PATCH] presto_t -> struct presto Remove useless typedef. --- src/jtag/presto.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/jtag/presto.c b/src/jtag/presto.c index 29066b18..154e3e17 100644 --- a/src/jtag/presto.c +++ b/src/jtag/presto.c @@ -86,8 +86,7 @@ static struct bitq_interface presto_bitq = #define BUFFER_SIZE (64*62) -typedef struct presto_s -{ +struct presto { #if BUILD_PRESTO_FTD2XX == 1 FT_HANDLE handle; FT_STATUS status; @@ -117,11 +116,10 @@ typedef struct presto_s int jtag_tdi_count; int jtag_speed; +}; -} presto_t; - -static presto_t presto_state; -static presto_t *presto = &presto_state; +static struct presto presto_state; +static struct presto *presto = &presto_state; static uint8_t presto_init_seq[] = { -- 2.39.5