aboutsummaryrefslogtreecommitdiff
path: root/src/target/target_type.h
diff options
context:
space:
mode:
authorYasushi SHOJI <yashi@spacecubics.com>2021-08-29 18:18:01 +0900
committerAntonio Borneo <borneo.antonio@gmail.com>2021-10-02 13:18:15 +0000
commit05752557dd0dcab76250ab12377d59435b74204d (patch)
tree52944824e93ab48977e7bb8f14e32337b63ac897 /src/target/target_type.h
parente4872054108a3a18dc651b45dea679696e14ee7f (diff)
downloadriscv-openocd-05752557dd0dcab76250ab12377d59435b74204d.zip
riscv-openocd-05752557dd0dcab76250ab12377d59435b74204d.tar.gz
riscv-openocd-05752557dd0dcab76250ab12377d59435b74204d.tar.bz2
helper: Remove src/helper from include dirs
The header files under src/helper/ can currently be included with either #include <bits.h> or #include <helper/bits.h> This is because we specify both "src/" and "src/helper/" directories as include directories. Some files name under "src/helper/", such as types.h, log.h, and util.h are too generic and could be ambiguous depending on the search path. This commit remove "src/helper/" from our include dir and make C files include explicitly. Change-Id: I38fc9b96ba01a513d4a72757d40007e21b502f25 Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6507 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r--src/target/target_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h
index cf30cf8..d6b6086 100644
--- a/src/target/target_type.h
+++ b/src/target/target_type.h
@@ -25,7 +25,7 @@
#ifndef OPENOCD_TARGET_TARGET_TYPE_H
#define OPENOCD_TARGET_TARGET_TYPE_H
-#include <jim-nvp.h>
+#include <helper/jim-nvp.h>
struct target;