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?

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
Masahiro Yamada 2020-07-29 12:18:45 +09:00
parent a97ea93ed5
commit 1dbcf46d51

View File

@ -71,7 +71,7 @@ static void drain_openssl_errors(void)
static const char *key_pass; static const char *key_pass;
static BIO *wb; static BIO *wb;
static char *cert_dst; static char *cert_dst;
int kbuild_verbose; static int kbuild_verbose;
static void write_cert(X509 *x509) static void write_cert(X509 *x509)
{ {