]> Zhao Yanbai Git Server - minix.git/commitdiff
Specify missing return type
authorErik van der Kouwe <erik@minix3.org>
Fri, 19 Mar 2010 19:07:00 +0000 (19:07 +0000)
committerErik van der Kouwe <erik@minix3.org>
Fri, 19 Mar 2010 19:07:00 +0000 (19:07 +0000)
kernel/arch/i386/memory.c

index 5cfb7e053f8008d3c497ba263880c1149d07b975..ab20ecbc3de1844706b0c036c2e1810ae1c420ab 100644 (file)
@@ -928,7 +928,7 @@ void i386_freepde(int pde)
        freepdes[nfreepdes++] = pde;
 }
 
-PUBLIC arch_phys_map(int index, phys_bytes *addr, phys_bytes *len, int *flags)
+PUBLIC int arch_phys_map(int index, phys_bytes *addr, phys_bytes *len, int *flags)
 {
 #ifdef CONFIG_APIC
        /* map the local APIC if enabled */