Adjust function definition in arm's mv_common.c to avoid clang 15 warning

With clang 15, the following -Werror warning is produced:

    sys/arm/mv/mv_common.c:414:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    mv_check_soc_family()
                       ^
                        void

This is because mv_check_soc_family() is declared with a (void) argument
list, but defined with an empty argument list. Make the definition match
the declaration.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2022-08-15 20:02:13 +02:00
parent 729c458bf7
commit 402dbdd98a

View File

@ -411,7 +411,7 @@ static int mv_win_cesa_attr_armadaxp(int eng_sel)
}
enum soc_family
mv_check_soc_family()
mv_check_soc_family(void)
{
uint32_t dev, rev;