Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 1999 20:42:11 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        billf@jade.chc-chimes.com
Cc:        hackers@freebsd.org
Subject:   Re: prototypes with __P
Message-ID:  <199908080342.UAA01179@vashon.polstra.com>
In-Reply-To: <Pine.BSF.4.10.9908061929460.45391-100000@jade.chc-chimes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.10.9908061929460.45391-100000@jade.chc-chimes.com>,
Bill Fumerola  <billf@jade.chc-chimes.com> wrote:
> On Fri, 6 Aug 1999, Matthew Hunt wrote:
> 
> > I have no idea how much of the FreeBSD code would actually build on
> > a K&R compiler.
> 
> Thanks to Bruce, a lot of it.

Note, the use of __P is discouraged in new code.  From style(9):

  Only use the __P macro from the include file <sys/cdefs.h> if
  the source file in general is (to be) compilable with a K&R
  Old testament compiler.  Use of the __P macro in new code is
  discouraged, although modifications to existing files should be
  consistent with that file's conventions.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908080342.UAA01179>