btrfs-progs: hash-vectest: make test_hash static to fix build warning

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 <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-08-22 18:03:22 +02:00
parent 83ac6e0a72
commit 588f82f333

View File

@ -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;