From 1efe16513589743037b602f2d388b4dcc73f0b0b Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 18 Oct 2011 23:06:31 +0800 Subject: [PATCH] Kernel/x86 - Compile fixes for newer gcc --- Kernel/arch/x86/mm_phys.c | 2 +- Kernel/arch/x86/mm_virt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/arch/x86/mm_phys.c b/Kernel/arch/x86/mm_phys.c index 07318362..81edcf2c 100644 --- a/Kernel/arch/x86/mm_phys.c +++ b/Kernel/arch/x86/mm_phys.c @@ -12,7 +12,7 @@ // === IMPORTS === -extern void gKernelEnd; +extern char gKernelEnd[]; extern void Proc_PrintBacktrace(void); // === PROTOTYPES === diff --git a/Kernel/arch/x86/mm_virt.c b/Kernel/arch/x86/mm_virt.c index 4434a880..82f8f970 100644 --- a/Kernel/arch/x86/mm_virt.c +++ b/Kernel/arch/x86/mm_virt.c @@ -59,7 +59,7 @@ typedef Uint32 tTabEnt; // === IMPORTS === -extern void _UsertextEnd, _UsertextBase; +extern char _UsertextEnd[], _UsertextBase[]; extern Uint32 gaInitPageDir[1024]; extern Uint32 gaInitPageTable[1024]; extern void Threads_SegFault(tVAddr Addr); -- 2.20.1