Subject: Re: "stat" define/redefine problem
To: None <Havard.Eidnes@runit.sintef.no>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 10/21/1997 17:33:01
On Tue, 21 Oct 1997 23:51:25 +0200
Havard.Eidnes@runit.sintef.no wrote:
Yes, I fixed that today, but a different fix is going to go in soon (Bill
Sommerfeld came up with a better way of doing the function versioning).
This will be all fixed for tomorrow's SUP.
> cc -O -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -c /usr/src/bin/mt/mt.c
> In file included from /usr/src/bin/mt/mt.c:58:
> /usr/include/sys/stat.h:235: warning: `stat' redefined
> /usr/include/rmt.h:32: warning: this is the location of the previous definition
> /usr/include/sys/stat.h:236: warning: `fstat' redefined
> /usr/include/rmt.h:25: warning: this is the location of the previous definition
> /usr/include/sys/stat.h:237: warning: `lstat' redefined
> /usr/include/rmt.h:29: warning: this is the location of the previous definition
> *** Error code 1
>
> Stop.
>
> Today's sources.
>
> - Havard
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 415 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939