aboutsummaryrefslogtreecommitdiff
path: root/src/hello.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-05-06 18:49:46 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-05-18 10:13:41 +0000
commit04a11812883fafee8f0fcb4fee64832716fd43ca (patch)
treed51df0444ead8fcdb9ca9d7401f38d43b9081ff6 /src/hello.c
parentd2afdefd264f088c2c1057026037cfe5b5a86413 (diff)
downloadriscv-openocd-04a11812883fafee8f0fcb4fee64832716fd43ca.zip
riscv-openocd-04a11812883fafee8f0fcb4fee64832716fd43ca.tar.gz
riscv-openocd-04a11812883fafee8f0fcb4fee64832716fd43ca.tar.bz2
hello: include hello.h
Let source file to include its file .h to validate the exported prototypes. Detected through 'sparse' tool. Change-Id: I6197f21c857833dafc3d6e3b750c764bf4610abd Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7671 Tested-by: jenkins
Diffstat (limited to 'src/hello.c')
-rw-r--r--src/hello.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hello.c b/src/hello.c
index 4a4ce01..4e27d4d 100644
--- a/src/hello.c
+++ b/src/hello.c
@@ -8,6 +8,7 @@
#include <config.h>
#endif
#include <helper/log.h>
+#include "hello.h"
COMMAND_HANDLER(handle_foo_command)
{