Subject: Re: sys/null.h
To: None <tech-userlevel@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 04/16/2005 16:56:52
On Fri, Apr 15, 2005 at 05:47:23PM -0400, der Mouse wrote:
> >> Yes, NetBSD _MUST_ be able to compile both pre-ANSI code and code
> >> that uses NULL as an int or char value thus the public headers
> >> really must use a plain integer zero for NULL.
> > Oh, so the de-__P()ification was only in the kernel?
> 
> That doesn't follow.  Use of prototypes in include files is not
> incompatible with compiling pre-ANSI application code.

To make your statement more clear, it is about compiling pre-ANSI code
with a modern compiler, not about compiling pre-ANSI code with the
C90+ headers in /usr/include iwth a prehistoric compiler.

Joerg