aboutsummaryrefslogtreecommitdiff
path: root/src/target/stm8.c
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2021-04-30 12:01:34 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-05-08 09:49:32 +0100
commit167adaf841bbf33e9a08ffcc34bc66e8158e6373 (patch)
tree6750e8ea8deadd39765e9ba708997179659f2954 /src/target/stm8.c
parent64d89d5ee1a554fbae8eb0a7231ccb2dc4428c1a (diff)
downloadriscv-openocd-167adaf841bbf33e9a08ffcc34bc66e8158e6373.zip
riscv-openocd-167adaf841bbf33e9a08ffcc34bc66e8158e6373.tar.gz
riscv-openocd-167adaf841bbf33e9a08ffcc34bc66e8158e6373.tar.bz2
target/stm8: Make 'stm8_command_handlers' static
Change-Id: I5237a8f2a1ecba9383672e37bd56f8ccd17598b6 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6200 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/target/stm8.c')
-rw-r--r--src/target/stm8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/stm8.c b/src/target/stm8.c
index e99b3c2..2a34ff6 100644
--- a/src/target/stm8.c
+++ b/src/target/stm8.c
@@ -2159,7 +2159,7 @@ static const struct command_registration stm8_exec_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-const struct command_registration stm8_command_handlers[] = {
+static const struct command_registration stm8_command_handlers[] = {
{
.name = "stm8",
.mode = COMMAND_ANY,