Skip to content

Commit

Permalink
common: avb_verify: Make local data static
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Igor Opaniuk <[email protected]>
  • Loading branch information
erosca authored and trini committed Aug 24, 2018
1 parent 87c814d commit 55d56d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/avb_verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 55d56d2

Please sign in to comment.