Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: basesrc/usr.bin/yacc
On Thu, Jan 31, 2002 at 11:01:16PM +0200, Todd Vierling wrote:
> In the generated C file, don't assume that <sys/cdefs.h> exists. Instead,
> imply it with the <stdlib.h> include already present in the file, and
> provide a compatibility definition for __P().
My suggestion here would be to not use __P() at all. Either always
emit an ANSI-style prototype, or always use a YACC_PROTO() macro that
is defined in the file.
--
-- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>
Home |
Main Index |
Thread Index |
Old Index