From d112a1282e8a13b0a85d73e127620e651186e663 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Tue, 6 Sep 2022 00:43:44 +0200 Subject: [PATCH] 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 --- src/flash/nor/npcx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }; -- 2.30.2