From d9ec06192725bb6bf023120e99cbe8da33756628 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 21 Sep 2021 18:37:01 +0200 Subject: start using sparse's `-Wdecl` --- src/kernel/arch/i386/sysenter.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/kernel/arch/i386/sysenter.c') diff --git a/src/kernel/arch/i386/sysenter.c b/src/kernel/arch/i386/sysenter.c index a0d4f73..cda4f15 100644 --- a/src/kernel/arch/i386/sysenter.c +++ b/src/kernel/arch/i386/sysenter.c @@ -1,10 +1,9 @@ #include +#include #include #include -struct registers _sysexit_regs; // a hack - -extern void _sysexit_real(void); +struct registers _sysexit_regs; void sysexit(struct registers regs) { _sysexit_regs = regs; -- cgit v1.2.3