From: Antonio Borneo Date: Mon, 5 Sep 2022 22:43:44 +0000 (+0200) Subject: flash/nor/npcx: make local symbols static X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d112a1282e8a13b0a85d73e127620e651186e663;p=fw%2Fopenocd 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 Reviewed-on: https://review.openocd.org/c/openocd/+/7169 Reviewed-by: Tomas Vanek Tested-by: jenkins --- diff --git a/src/flash/nor/npcx.c b/src/flash/nor/npcx.c index a4d639524..ec999e24a 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" };