From: John Hodge Date: Tue, 18 Oct 2011 15:06:31 +0000 (+0800) Subject: Kernel/x86 - Compile fixes for newer gcc X-Git-Tag: rel0.13~36 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1efe16513589743037b602f2d388b4dcc73f0b0b;p=tpg%2Facess2.git Kernel/x86 - Compile fixes for newer gcc --- 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);