Date: Wed, 18 Apr 2001 07:52:57 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Kris Kennaway <kris@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include stdio.h Message-ID: <Pine.BSF.4.21.0104180740120.12660-100000@besplex.bde.org> In-Reply-To: <200104171816.f3HIGlU05627@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Apr 2001, Kris Kennaway wrote: > kris 2001/04/17 11:16:47 PDT > > Modified files: > include stdio.h > Log: > I think this was supposed to be __const like in NetBSD: I have no idea > why I changed it to const. Apparently you wanted to break K&R support, but know better now :-) :-). `__const' is mainly to support `gcc -traditional'. `gcc - traditional' is more like a K&R compiler than an ISO compiler, except it supports prototypes. It does not support `const', but it supports an alias for `const' named `__const'. Declaring things as __const keeps them const even for `gcc -traditional'. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104180740120.12660-100000>