summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-07-29 05:18:45 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-18 13:16:46 +0200
commit1dbcf46d516b3ab9b114ffcb7b8a55ee5e375523 (patch)
tree8cbc213cba5c88da6b44d1225712233d4d58765d /scripts
parentMakefile.extrawarn: Move sign-compare from W=2 to W=3 (diff)
downloadlinux-1dbcf46d516b3ab9b114ffcb7b8a55ee5e375523.tar.xz
linux-1dbcf46d516b3ab9b114ffcb7b8a55ee5e375523.zip
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/extract-cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/extract-cert.c b/scripts/extract-cert.c
index b071bf476fea..3bc48c726c41 100644
--- a/scripts/extract-cert.c
+++ b/scripts/extract-cert.c
@@ -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)
{