opnsense-src/sys/ufs
Dimitry Andric 02a0b35b45 Adjust function definitions in ufs_dirhash.c to avoid clang 15 warnings
With clang 15, the following -Werror warnings are produced:

    sys/ufs/ufs/ufs_dirhash.c:1303:16: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    ufsdirhash_init()
                   ^
                    void
    sys/ufs/ufs/ufs_dirhash.c:1319:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    ufsdirhash_uninit()
                     ^
                      void

This is because ufsdirhash_init() and ufsdirhash_uninit() are declared
with (void) argument lists, but defined with empty argument lists. Make
the definitions match the declarations.

MFC after:	3 days

(cherry picked from commit ed1d5f95a5)
2022-07-29 20:30:01 +02:00
..
ffs Fix unused variable warning in ffs_snapshot.c 2022-07-29 20:29:59 +02:00
ufs Adjust function definitions in ufs_dirhash.c to avoid clang 15 warnings 2022-07-29 20:30:01 +02:00