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
parent 66d5941077
commit e64eeef633
No known key found for this signature in database
GPG Key ID: 80E0357347554B89

View File

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