summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-07-29 06:18:45 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-18 14:16:46 +0300
commit1dbcf46d516b3ab9b114ffcb7b8a55ee5e375523 (patch)
tree8cbc213cba5c88da6b44d1225712233d4d58765d /scripts
parenta97ea93ed5b64704a2171c505355c12ab427b1b1 (diff)
downloadlinux-1dbcf46d516b3ab9b114ffcb7b8a55ee5e375523.tar.xz
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)
{