Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 1997 16:41:58 +0100
From:      Eivind Eklund <eivind@dimaga.com>
To:        hackers@freebsd.org (Robert Withrow)
Subject:   Re: NULL as ((void*)0) (was Re: strlen() question) 
Message-ID:  <3.0.32.19970216164157.00a4e4f0@dimaga.com>

next in thread | raw e-mail | index | archive | help
At 09:58 AM 2/15/97 -0500, Robert Withrow wrote:
>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.

I think we'll have a more fruitful debate if we keep the religious points
out of this.  If you want to have a religious debate, feel free to take it
up on
-chat.



Eivind Eklund  perhaps@yes.no  http://maybe.yes.no/perhaps/
eivind@freebsd.org




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