]> git.sur5r.net Git - openocd/commitdiff
presto_t -> struct presto
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 13:23:12 +0000 (05:23 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:05 +0000 (11:58 -0800)
Remove useless typedef.

src/jtag/presto.c

index 29066b18a283b8707acf52ad21114154d52673ba..154e3e1758df1048df362e5ce96fb2a60bc1874b 100644 (file)
@@ -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[] =
 {