From 588f82f333f097e6ded1415f9c6ea1378887f61e Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 22 Aug 2023 18:03:22 +0200 Subject: [PATCH] btrfs-progs: hash-vectest: make test_hash static to fix build warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The warning: crypto/hash-vectest.c:559:5: warning: no previous prototype for ‘test_hash’ [-Wmissing-prototypes] 559 | int test_hash(const struct hash_testspec *sp Signed-off-by: David Sterba --- crypto/hash-vectest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/hash-vectest.c b/crypto/hash-vectest.c index 498b9a12..2a00c029 100644 --- a/crypto/hash-vectest.c +++ b/crypto/hash-vectest.c @@ -549,7 +549,7 @@ static const struct hash_testspec test_spec[] = { } }; -int test_hash(const struct hash_testspec *spec) +static int test_hash(const struct hash_testspec *spec) { int i; bool header = false;