Skip to content

Commit 1dbcf46

Browse files
committed
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 <[email protected]>
1 parent a97ea93 commit 1dbcf46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/extract-cert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static void drain_openssl_errors(void)
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
{

0 commit comments

Comments
 (0)