From 8a4caba26f618c5716e5c866559f508097a44e0b Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Tue, 4 Jun 2024 21:39:10 +0200 Subject: [PATCH] Fix routine with no prototype using XTAPI calling convention compiler warning --- xtoskrnl/hl/x86/cpu.c | 2 +- xtoskrnl/includes/hli.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xtoskrnl/hl/x86/cpu.c b/xtoskrnl/hl/x86/cpu.c index 146d359..2a085ef 100644 --- a/xtoskrnl/hl/x86/cpu.c +++ b/xtoskrnl/hl/x86/cpu.c @@ -21,7 +21,7 @@ */ XTAPI VOID -HlInitializeProcessor() +HlInitializeProcessor(VOID) { PKPROCESSOR_BLOCK ProcessorBlock; KAFFINITY Affinity; diff --git a/xtoskrnl/includes/hli.h b/xtoskrnl/includes/hli.h index 360cf64..b323110 100644 --- a/xtoskrnl/includes/hli.h +++ b/xtoskrnl/includes/hli.h @@ -66,7 +66,7 @@ HlInitializeFrameBuffer(VOID); XTAPI VOID -HlInitializeProcessor(); +HlInitializeProcessor(VOID); XTAPI XTSTATUS