aboutsummaryrefslogtreecommitdiff
path: root/src/target/oocd_trace.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:56:37 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:56:37 +0000
commit56504fdd7353732525e34f1e3fbd44346588f979 (patch)
tree1f773aa47f7e8640a859a61c77edbb55aa79dc55 /src/target/oocd_trace.c
parent68b05c55759970657c32607b3ce27c42e65cdad0 (diff)
downloadriscv-openocd-56504fdd7353732525e34f1e3fbd44346588f979.zip
riscv-openocd-56504fdd7353732525e34f1e3fbd44346588f979.tar.gz
riscv-openocd-56504fdd7353732525e34f1e3fbd44346588f979.tar.bz2
Audit and eliminate redundant #include directives in other target files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1715 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/oocd_trace.c')
-rw-r--r--src/target/oocd_trace.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c
index 14197be..dc96d13 100644
--- a/src/target/oocd_trace.c
+++ b/src/target/oocd_trace.c
@@ -21,25 +21,14 @@
#include "config.h"
#endif
+// we must define _GNU_SOURCE to get strndup
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
-#include <string.h>
-#include <errno.h>
#include "oocd_trace.h"
-#include "etm.h"
-
-#include "log.h"
-#include "types.h"
-#include "binarybuffer.h"
-#include "target.h"
-#include "register.h"
-#include "jtag.h"
#include "arm7_9_common.h"
-#include "replacements.h"
-#include <stdlib.h>
static int oocd_trace_register_commands(struct command_context_s *cmd_ctx);