diff options
author | dzwdz | 2021-09-21 18:37:01 +0200 |
---|---|---|
committer | dzwdz | 2021-09-21 18:37:01 +0200 |
commit | d9ec06192725bb6bf023120e99cbe8da33756628 (patch) | |
tree | 847ff37279af11932891e70f7f14f9071182940f /src/kernel/arch/i386/sysenter.c | |
parent | dc7a432b877222253fe02a332fba69d077eea8fe (diff) |
start using sparse's `-Wdecl`
Diffstat (limited to 'src/kernel/arch/i386/sysenter.c')
-rw-r--r-- | src/kernel/arch/i386/sysenter.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 <kernel/arch/generic.h> +#include <kernel/arch/i386/sysenter.h> #include <kernel/proc.h> #include <shared/syscalls.h> -struct registers _sysexit_regs; // a hack - -extern void _sysexit_real(void); +struct registers _sysexit_regs; void sysexit(struct registers regs) { _sysexit_regs = regs; |