From: John Hodge Date: Tue, 18 Oct 2011 10:58:41 +0000 (+0800) Subject: Kernel/x86 - Fixed warnings in newer versions of GCC X-Git-Tag: rel0.13~39 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c63877228773cda5b8eec489faf9c42c7c650a1b;p=tpg%2Facess2.git Kernel/x86 - Fixed warnings in newer versions of GCC --- diff --git a/Kernel/arch/x86/proc.c b/Kernel/arch/x86/proc.c index cb772f4b..ac5dc911 100644 --- a/Kernel/arch/x86/proc.c +++ b/Kernel/arch/x86/proc.c @@ -54,10 +54,10 @@ extern int giNextTID; extern tThread gThreadZero; extern void Isr8(void); // Double Fault extern void Proc_ReturnToUser(tVAddr Handler, Uint Argument, tVAddr KernelStack); -extern void scheduler_return; // Return address in SchedulerBase -extern void IRQCommon; // Common IRQ handler code -extern void IRQCommon_handled; // IRQCommon call return location -extern void GetEIP_Sched_ret; // GetEIP call return location +extern char scheduler_return[]; // Return address in SchedulerBase +extern char IRQCommon[]; // Common IRQ handler code +extern char IRQCommon_handled[]; // IRQCommon call return location +extern char GetEIP_Sched_ret[]; // GetEIP call return location extern void Threads_AddToDelete(tThread *Thread); extern void SwitchTasks(Uint NewSP, Uint *OldSP, Uint NewIP, Uint *OldIO, Uint CR3);