From: Zachary T Welch Date: Fri, 13 Nov 2009 13:23:12 +0000 (-0800) Subject: presto_t -> struct presto X-Git-Tag: v0.4.0-rc1~778 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ffc77b61ddb4407f6c6dcd6188a07d5c630a2780;p=openocd presto_t -> struct presto Remove useless typedef. --- 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[] = {