loadsvf: Declare JTAG_set_mode in jtag.h
Declare JTAG_set_mode() in jtag.h to prevent an implicit function
declaration compiler error when compiling with GCC 15.
In loadsvf, main.c calls JTAG_set_mode(), which is implemented in
src/jtag.c but was omitted from the header src/jtag.h. Under GCC 15,
-Werror=implicit-function-declaration is enabled by default, causing
the compilation of main.c to fail.
Google-Bug-Id: 568356611
Tested: BitBake built loadsvf successfully
Change-Id: I4140592ad10fb100d715c6d8c1741847f3f6be9e
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2 files changed