summaryrefslogtreecommitdiff
path: root/src/target/oocd_trace.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:43:42 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:12 -0800
commitf4e03e3b902104f5cf8aab1ea3cd5db2bb36890e (patch)
tree986d0d318c7aa32bc2c67123e37fed12baef2c90 /src/target/oocd_trace.h
parentb87f07110a42981aa53bb6f824d29216658dafc4 (diff)
downloadopenocd+libswd-f4e03e3b902104f5cf8aab1ea3cd5db2bb36890e.tar.gz
openocd+libswd-f4e03e3b902104f5cf8aab1ea3cd5db2bb36890e.tar.bz2
openocd+libswd-f4e03e3b902104f5cf8aab1ea3cd5db2bb36890e.tar.xz
openocd+libswd-f4e03e3b902104f5cf8aab1ea3cd5db2bb36890e.zip
oocd_trace_t -> struct oocd_trace
Remove misleading typedef and redundant suffix from struct oocd_trace.
Diffstat (limited to 'src/target/oocd_trace.h')
-rw-r--r--src/target/oocd_trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/oocd_trace.h b/src/target/oocd_trace.h
index 886ff79a..49b4b890 100644
--- a/src/target/oocd_trace.h
+++ b/src/target/oocd_trace.h
@@ -46,13 +46,13 @@ enum
OOCD_TRACE_RESYNC = 0xf0,
};
-typedef struct oocd_trace_s
+struct oocd_trace
{
etm_context_t *etm_ctx;
char *tty;
int tty_fd;
struct termios oldtio, newtio;
-} oocd_trace_t;
+};
extern struct etm_capture_driver oocd_trace_capture_driver;