This is an automated email from Gerrit.

Marc Schink ([email protected]) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/6200

-- gerrit

commit ebf85bd2c0bc811218f0bc1c5d7097614b793337
Author: Marc Schink <[email protected]>
Date:   Fri Apr 30 12:01:34 2021 +0200

    target/stm8: Make 'stm8_command_handlers' static
    
    Change-Id: I5237a8f2a1ecba9383672e37bd56f8ccd17598b6
    Signed-off-by: Marc Schink <[email protected]>

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,
diff --git a/src/target/stm8.h b/src/target/stm8.h
index da7f1f1..b18ff58 100644
--- a/src/target/stm8.h
+++ b/src/target/stm8.h
@@ -70,6 +70,4 @@ target_to_stm8(struct target *target)
        return target->arch_info;
 }
 
-const struct command_registration stm8_command_handlers[];
-
 #endif /* OPENOCD_TARGET_STM8_H */

-- 

Reply via email to