summaryrefslogtreecommitdiff
path: root/common/avb_verify.c
diff options
context:
space:
mode:
authorEugeniu Rosca <roscaeugeniu@gmail.com>2018-08-14 02:43:06 +0200
committerTom Rini <trini@konsulko.com>2018-08-24 13:19:53 -0400
commit55d56d23479c57e530abbcc82459ca641d2ce7d8 (patch)
treeb18a259feef35c9c4a2b720fed902e52ca104a5f /common/avb_verify.c
parent87c814d4c773b1e311b972315c0a5e45fd32362f (diff)
common: avb_verify: Make local data static
Fix sparse complaint: common/avb_verify.c:14:21: warning: \ symbol 'avb_root_pub' was not declared. Should it be static? Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Diffstat (limited to 'common/avb_verify.c')
-rw-r--r--common/avb_verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/avb_verify.c b/common/avb_verify.c
index 52b91a825a..55632500db 100644
--- a/common/avb_verify.c
+++ b/common/avb_verify.c
@@ -11,7 +11,7 @@
#include <malloc.h>
#include <part.h>
-const unsigned char avb_root_pub[1032] = {
+static const unsigned char avb_root_pub[1032] = {
0x0, 0x0, 0x10, 0x0, 0x55, 0xd9, 0x4, 0xad, 0xd8, 0x4,
0xaf, 0xe3, 0xd3, 0x84, 0x6c, 0x7e, 0xd, 0x89, 0x3d, 0xc2,
0x8c, 0xd3, 0x12, 0x55, 0xe9, 0x62, 0xc9, 0xf1, 0xf, 0x5e,