Enabled -Wstrict-prototypes and fixed warnings.

This commit is contained in:
Qi Wang 2023-07-05 13:33:34 -07:00 committed by Qi Wang
parent ebd7e99f5c
commit 602edd7566
42 changed files with 82 additions and 80 deletions

View file

@ -66,7 +66,7 @@ static int madvise_dont_need_zeros_is_faulty = -1;
*
* [1]: https://patchwork.kernel.org/patch/10576637/
*/
static int madvise_MADV_DONTNEED_zeroes_pages()
static int madvise_MADV_DONTNEED_zeroes_pages(void)
{
size_t size = PAGE;