Skip to contentSkip to conversation

extract-cert: add static to local data

PATCH New Masahiro Yamada 1 participant 1 message Jul 29, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extract-cert: add static to local data

Fix the following warning from sparse:

scripts/extract-cert.c:74:5: warning: symbol 'kbuild_verbose' was not declared. Should it be static?

---

 scripts/extract-cert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/extract-cert.c +1 -1
index b071bf476fea..3bc48c726c41 100644
@@ -71,7 +71,7 @@ static void drain_openssl_errors(void)
 static const char *key_pass;
 static BIO *wb;
 static char *cert_dst;
-int kbuild_verbose;
+static int kbuild_verbose;
 
 static void write_cert(X509 *x509)
 {
Signature · 1 line
2.25.1