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.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7169 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
This commit is contained in:
parent
07d84bca32
commit
d112a1282e
|
@ -17,7 +17,7 @@
|
||||||
#include "../../../contrib/loaders/flash/npcx/npcx_flash.h"
|
#include "../../../contrib/loaders/flash/npcx/npcx_flash.h"
|
||||||
|
|
||||||
/* NPCX flash loader */
|
/* NPCX flash loader */
|
||||||
const uint8_t npcx_algo[] = {
|
static const uint8_t npcx_algo[] = {
|
||||||
#include "../../../contrib/loaders/flash/npcx/npcx_algo.inc"
|
#include "../../../contrib/loaders/flash/npcx/npcx_algo.inc"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue