From owner-cvs-all Tue Apr 17 14:54: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 6637B37B43E; Tue, 17 Apr 2001 14:53:59 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id HAA04190; Wed, 18 Apr 2001 07:53:57 +1000 Date: Wed, 18 Apr 2001 07:52:57 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Kris Kennaway Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include stdio.h In-Reply-To: <200104171816.f3HIGlU05627@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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