Subject: Re: problems with current /src/usr.sbin/config
To: Thorsten Frueauf <frueauf@ira.uka.de>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 01/05/1996 14:35:27
On Fri, 5 Jan 1996 16:51:25 +0000 (GMT)
Thorsten Frueauf <frueauf@ira.uka.de> wrote:
> cc -O -I/home/milano/source/netbsd-src/usr.sbin/config -I. -Werror -c gram.c
> y.tab.c:119: warning: `MAXPARTITIONS' redefined
> /usr/include/machine/param.h:115: warning: this is the location of the previous
> definition
> *** Error code 1
>
> Stop.
Umm ... it looks like the amiga and the atari both declare MAXPARTITIONS
in <machine/param.h> and <machine/disklabel.h> ... That seems wrong to
me. All of the other ports I checked (alpha, i386, sparc, hp300) only
declare it in <machine/disklabel.h>, where it seems most natural to me.
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939