Subject: Re: machine/pmap.h vs vm/pmap.h
To: Darren Reed <avalon@coombs.anu.edu.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 12/10/1999 11:58:19
On Sat, 11 Dec 1999 04:06:24 +1100 (Australia/NSW)
Darren Reed <avalon@coombs.anu.edu.au> wrote:
> > > a number of functions in <vm/pmap.h> are redeclared in <machine/pmap.h>
> > > (this is on i386) and have `static inline' declarations. Has this been
> > > resolved since 1.4K ?
> >
> > Resolved? It's not a problem!
>
> It is if you attempt to include both files in the same .c file.
>
> Conflicting prototypes, or whatever the actual error is.
>
> Which one is correct ?
What on earth are you talking about? One of the first things <vm/pmap.h>
does is include <machine/pmap.h>.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>