From: Antonio Borneo Date: Sat, 6 May 2023 16:49:46 +0000 (+0200) Subject: hello: include hello.h X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;h=04a11812883fafee8f0fcb4fee64832716fd43ca;p=openocd.git 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 Reviewed-on: https://review.openocd.org/c/openocd/+/7671 Tested-by: jenkins --- diff --git a/src/hello.c b/src/hello.c index 4a4ce01cab..4e27d4d68d 100644 --- a/src/hello.c +++ b/src/hello.c @@ -8,6 +8,7 @@ #include #endif #include +#include "hello.h" COMMAND_HANDLER(handle_foo_command) {