Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 1997 09:58:31 -0500
From:      Robert Withrow <witr@rwwa.com>
To:        hackers@freebsd.org
Subject:   Re: NULL as ((void*)0) (was Re: strlen() question) 
Message-ID:  <199702151458.JAA26056@spooky.rwwa.com>
In-Reply-To: Your message of "Fri, 14 Feb 1997 17:36:53 %2B0100." <3.0.32.19970214173652.00c0b290@dimaga.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

eivind@dimaga.com said:
> I hereby propose changing the default declaration of NULL under 
> FreeBSD from #define NULL 0 to #define NULL ((void*)0) for better 
> type-safety and ease of transition to other architechtures (e.g. 
> Alpha). 

Well, once you understand ANSI you get over this compulsion to
sprinkle your code with NULL, so I don't see the point.

-----------------------------------------------------------------------------
Robert Withrow, Tel: +1 617 592 8935, Net: witr@rwwa.COM





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