aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/aice/aice_transport.c
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2021-04-19 13:04:30 -0700
committerAntonio Borneo <borneo.antonio@gmail.com>2021-05-01 14:35:09 +0100
commit87c90393fedc8bb278d189aa53bcd93f4892012b (patch)
treeff2d3a460d03196d0da6a5fbb22416fa92ee0197 /src/jtag/aice/aice_transport.c
parentb44948985f080df55adeb9377596432fff3c50d6 (diff)
downloadriscv-openocd-87c90393fedc8bb278d189aa53bcd93f4892012b.zip
riscv-openocd-87c90393fedc8bb278d189aa53bcd93f4892012b.tar.gz
riscv-openocd-87c90393fedc8bb278d189aa53bcd93f4892012b.tar.bz2
Cleanup of config/includes.
Remove a use of AH_BOTTOM from configure.ac. This macro is used by autoheader to add '#include' of some include file to the end of config.h.in and then to config.h. OpenOCD can be built with a custom config.h, so it's preferable to move these '#include' statement directly in the C files that need them dropping this unneeded dependency. It also causes problems when I want to use the gnulib library (which comes with its own Makefile, and does not have the same include path as the top-level Makefile). So this change touches a lot of files, but is actually really simple. It does not affect functionality at all. Change-Id: I52c70bf15eb2edc1dd10e0fde23b2bcd4caec000 Signed-off-by: Tim Newsome <tim@sifive.com> Reviewed-on: http://openocd.zylin.com/6171 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/jtag/aice/aice_transport.c')
-rw-r--r--src/jtag/aice/aice_transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jtag/aice/aice_transport.c b/src/jtag/aice/aice_transport.c
index e3d431b..c02a42f 100644
--- a/src/jtag/aice/aice_transport.c
+++ b/src/jtag/aice/aice_transport.c
@@ -27,6 +27,7 @@
#include <target/target.h>
#include <jtag/aice/aice_interface.h>
#include <jtag/aice/aice_transport.h>
+#include <string.h>
/* */
static int jim_newtap_expected_id(Jim_Nvp *n, Jim_GetOptInfo *goi,