aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-04-09 01:37:11 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-05-05 22:14:11 +0000
commit4b7dc557386a7482e8d77b59f543b9a0ef7cae4f (patch)
tree649ce50af2d0b7bc9baca6dd98125b942175b22c
parentea62f8e22adb0c56509dd1999a2be9cf9798b8aa (diff)
downloadriscv-openocd-4b7dc557386a7482e8d77b59f543b9a0ef7cae4f.zip
riscv-openocd-4b7dc557386a7482e8d77b59f543b9a0ef7cae4f.tar.gz
riscv-openocd-4b7dc557386a7482e8d77b59f543b9a0ef7cae4f.tar.bz2
target: rtt: include rtt.h
Let source file to include its file .h to validate the exported prototypes. Detected through 'sparse' tool. Change-Id: I8ae2f8f1fdaea5683e157247463533b17237e464 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7602 Tested-by: jenkins
-rw-r--r--src/target/rtt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/rtt.c b/src/target/rtt.c
index b14c42f..5ce049a 100644
--- a/src/target/rtt.c
+++ b/src/target/rtt.c
@@ -14,6 +14,7 @@
#include <helper/binarybuffer.h>
#include <helper/command.h>
#include <rtt/rtt.h>
+#include <target/rtt.h>
#include "target.h"