Date: Mon, 11 Aug 1997 11:54:28 +0300 (EET DST) From: Esa A E Peuha Reply-To: Esa DOT Peuha AT Helsinki DOT FI To: Eli Zaretskii cc: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: [peuha AT cc DOT helsinki DOT fi: Patches for libc.inf sources] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 10 Aug 1997, Eli Zaretskii wrote: > If you disagree with what I said, please say so. Don't just punt > because I've said it. I have said some pretty dumb things in my > life, and I cannot be sure this isn't one of them. > Sorry. I should have said that you are probably right about the name of the header file that should be in the docs. > > but for some reason djgpp's prototype of `gettimeofday' > > is in and that's why I changed it. > > Right, but includes , so including > will also fetch the prototype of `gettimeofday'. > True, but including just will allow a program to use `gettimeofday' without warnings with djgpp, but not with Unix compilers, which could cause incompatibilities. IMHO, the header file mentioned in the docs should always actually contain the prototype, and not just include another file that does so. Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/