From: Erik van der Kouwe Date: Fri, 19 Mar 2010 19:07:00 +0000 (+0000) Subject: Specify missing return type X-Git-Tag: v3.1.7~220 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/invmod.png?a=commitdiff_plain;h=19ff96081c0d42981e5c8ee29f53593998ef3898;p=minix.git Specify missing return type --- diff --git a/kernel/arch/i386/memory.c b/kernel/arch/i386/memory.c index 5cfb7e053..ab20ecbc3 100644 --- a/kernel/arch/i386/memory.c +++ b/kernel/arch/i386/memory.c @@ -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 */