Skip to content

Commit bd272bc

Browse files
committed
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 <[email protected]>
1 parent 542d24c commit bd272bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/hash-vectest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ static const struct hash_testspec test_spec[] = {
549549
}
550550
};
551551

552-
int test_hash(const struct hash_testspec *spec)
552+
static int test_hash(const struct hash_testspec *spec)
553553
{
554554
int i;
555555
bool header = false;

0 commit comments

Comments
 (0)