Searched hist:1303 (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/ufs/ufs/
H A Dufs_dirhash.cdiff ed1d5f95 Tue Jul 26 13:32:20 MDT 2022 Dimitry Andric <dim@FreeBSD.org> 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
/freebsd-current/lib/libc/stdio/
H A Dprintf.3diff d230d427 Sun Jun 09 00:48:42 MDT 1996 Joerg Wunsch <joerg@FreeBSD.org> Reword the sentence about the required space for the result string.

Closes PR # 1303.-

Completed in 88 milliseconds