]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed warnings in watchdog.c
authorTomas Hruby <tom@minix3.org>
Tue, 19 Jan 2010 14:47:25 +0000 (14:47 +0000)
committerTomas Hruby <tom@minix3.org>
Tue, 19 Jan 2010 14:47:25 +0000 (14:47 +0000)
kernel/arch/i386/watchdog.c

index a9362d465fca73f24b02fac6e048e95a8769e814..003c037354e5260005db1b411bc9b9ce97ac1a87 100644 (file)
@@ -1,5 +1,7 @@
 #include "../../kernel.h"
 #include "../../watchdog.h"
+#include "proto.h"
+#include <minix/minlib.h>
 
 #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;