From 4b7dc557386a7482e8d77b59f543b9a0ef7cae4f Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sun, 9 Apr 2023 01:37:11 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.openocd.org/c/openocd/+/7602 Tested-by: jenkins --- src/target/rtt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/rtt.c b/src/target/rtt.c index b14c42f91..5ce049ae1 100644 --- a/src/target/rtt.c +++ b/src/target/rtt.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "target.h"