standards/50889: NULL defined as 0 instead of (void *)0

Jens Schweikhardt schweikh at FreeBSD.org
Wed Apr 23 00:01:19 PDT 2003


Synopsis: NULL defined as 0 instead of (void *)0

State-Changed-From-To: analyzed->closed
State-Changed-By: schweikh
State-Changed-When: Tue Apr 22 23:56:12 PDT 2003
State-Changed-Why: 
#define NULL 0 is ISO 9899 compliant. A discussion if a change to
#define NULL ((void*)0) would be beneficial has not shown a strong case
either way. There are bugs that can be covered/uncovered with both definitions.
In accordance with Newton's First Law, NULL is left as is.

http://www.freebsd.org/cgi/query-pr.cgi?pr=50889


More information about the freebsd-standards mailing list