summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 05:23:12 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commitffc77b61ddb4407f6c6dcd6188a07d5c630a2780 (patch)
treed08d2eeb64e82a848f5d2cce3e0ae7245dbd44c7 /src/jtag
parenta3f1c87eb72a8c91c54999e04349253159c1bdfd (diff)
downloadopenocd+libswd-ffc77b61ddb4407f6c6dcd6188a07d5c630a2780.tar.gz
openocd+libswd-ffc77b61ddb4407f6c6dcd6188a07d5c630a2780.tar.bz2
openocd+libswd-ffc77b61ddb4407f6c6dcd6188a07d5c630a2780.tar.xz
openocd+libswd-ffc77b61ddb4407f6c6dcd6188a07d5c630a2780.zip
presto_t -> struct presto
Remove useless typedef.
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/presto.c10
1 files 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[] =
{