is_1gib_page_supported: use (void), not () if there's no args

Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
This commit is contained in:
Andy-Python-Programmer 2022-01-27 15:40:51 +11:00 committed by mintsuki
parent 3c848d3996
commit 9dd2e17a9a

View File

@ -40,7 +40,7 @@ pagemap_t new_pagemap(int lv) {
return pagemap; return pagemap;
} }
static bool is_1gib_page_supported() { static bool is_1gib_page_supported(void) {
// Cache the cpuid result :^) // Cache the cpuid result :^)
static bool CACHE_INIT = false; static bool CACHE_INIT = false;
static bool CACHE = false; static bool CACHE = false;