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
71static const char *key_pass;71static const char *key_pass;
72static BIO *wb;72static BIO *wb;
73static char *cert_dst;73static char *cert_dst;
74int kbuild_verbose;74static int kbuild_verbose;
75 75
76static void write_cert(X509 *x509)76static void write_cert(X509 *x509)
77{77{