aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-04-09 00:14:45 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-05-05 22:08:56 +0000
commit9dc1d90f64168863d350694d38e5ff7f20a57a7e (patch)
treee73bbc256f0d6561a62da2570d0ba9b5a87eef3b
parentaa1214280d11c32f82961da44dee863098e1ac38 (diff)
downloadriscv-openocd-9dc1d90f64168863d350694d38e5ff7f20a57a7e.zip
riscv-openocd-9dc1d90f64168863d350694d38e5ff7f20a57a7e.tar.gz
riscv-openocd-9dc1d90f64168863d350694d38e5ff7f20a57a7e.tar.bz2
helper: util: include util.h
Let source file to include its file .h to validate the exported prototypes. Detected through 'sparse' tool. Change-Id: I5de107b4f8a468f0e37f06171f5f0c3c0546db1a Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7596 Tested-by: jenkins
-rw-r--r--src/helper/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helper/util.c b/src/helper/util.c
index 5e12021..2e9f615 100644
--- a/src/helper/util.c
+++ b/src/helper/util.c
@@ -12,6 +12,7 @@
#include "log.h"
#include "time_support.h"
+#include "util.h"
COMMAND_HANDLER(handler_util_ms)
{