History

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?

Masahiro Yamada committed 6 years ago

Commit 1dbcf461 parent a97ea931 file · +1 −1Browse files

Unified · Split

scripts/extract-cert.c+1−1
@@ -71,7 +71,7 @@ static void drain_openssl_errors(void) · 70 unmodified lines
7171 static const char *key_pass;
7272 static BIO *wb;
7373 static char *cert_dst;
74−int kbuild_verbose;
74+static int kbuild_verbose;
7575
7676 static void write_cert(X509 *x509)
7777 {