From: Tomas Hruby Date: Tue, 19 Jan 2010 14:47:25 +0000 (+0000) Subject: Fixed warnings in watchdog.c X-Git-Tag: v3.1.6~69 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=7d51b0cce1a819d3409c4174971e59e440cd57e7;p=minix.git Fixed warnings in watchdog.c --- diff --git a/kernel/arch/i386/watchdog.c b/kernel/arch/i386/watchdog.c index a9362d465..003c03735 100644 --- a/kernel/arch/i386/watchdog.c +++ b/kernel/arch/i386/watchdog.c @@ -1,5 +1,7 @@ #include "../../kernel.h" #include "../../watchdog.h" +#include "proto.h" +#include #include "apic.h" @@ -55,7 +57,7 @@ PRIVATE struct arch_watchdog intel_arch_watchdog = { int arch_watchdog_init(void) { - reg_t eax, ebx, ecx, edx; + u32_t eax, ebx, ecx, edx; eax = 0xA;