diff options
author | Marc Schink <dev@zapb.de> | 2021-04-30 12:01:34 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-05-08 09:49:32 +0100 |
commit | 167adaf841bbf33e9a08ffcc34bc66e8158e6373 (patch) | |
tree | 6750e8ea8deadd39765e9ba708997179659f2954 /src/target/stm8.c | |
parent | 64d89d5ee1a554fbae8eb0a7231ccb2dc4428c1a (diff) | |
download | riscv-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.c | 2 |
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, |