diff options
Diffstat (limited to 'i386/i386/ldt.c')
-rw-r--r-- | i386/i386/ldt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i386/i386/ldt.c b/i386/i386/ldt.c index 43b9efb5..0250ee26 100644 --- a/i386/i386/ldt.c +++ b/i386/i386/ldt.c @@ -36,8 +36,7 @@ #include "seg.h" #include "gdt.h" #include "ldt.h" - -extern int syscall(); +#include "locore.h" #ifdef MACH_PV_DESCRIPTORS /* It is actually defined in xen_boothdr.S */ @@ -46,7 +45,7 @@ extern struct real_descriptor ldt[LDTSZ]; void -ldt_init() +ldt_init(void) { #ifdef MACH_PV_DESCRIPTORS #ifdef MACH_PV_PAGETABLES |