This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7169

-- gerrit

commit f8664aeab01e943fd0bdd0c5b31526a05d7a03f3
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Tue Sep 6 00:43:44 2022 +0200

    flash/nor/npcx: make local symbols static
    
    Symbols that are not exported should be declared as static.
    
    Change-Id: I6a059080bbba9b3559d26c641b217be8be3b199e
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/flash/nor/npcx.c b/src/flash/nor/npcx.c
index a4d639524b..ec999e24a3 100644
--- a/src/flash/nor/npcx.c
+++ b/src/flash/nor/npcx.c
@@ -17,7 +17,7 @@
 #include "../../../contrib/loaders/flash/npcx/npcx_flash.h"
 
 /* NPCX flash loader */
-const uint8_t npcx_algo[] = {
+static const uint8_t npcx_algo[] = {
 #include "../../../contrib/loaders/flash/npcx/npcx_algo.inc"
 };
 

-- 

Reply via email to