Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 2004 21:58:28 +0000
From:      Mark Murray <markm@freebsd.org>
To:        Stefan Farfeleder <stefan@fafoe.narf.at>
Cc:        current@freebsd.org
Subject:   Re: NULL vs 0 vs 0L bikeshed time 
Message-ID:  <200403012158.i21LwS0w084961@grimreaper.grondar.org>
In-Reply-To: Your message of "Mon, 01 Mar 2004 22:34:56 %2B0100." <20040301213454.GA959@wombat.fafoe.narf.at> 

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Farfeleder writes:
> On Sun, Feb 29, 2004 at 03:46:35PM +0000, Mark Murray wrote:
> 
> > -#define        NULL    0L
> > +#define        NULL    (0L)
> 
> What's the point of parenthesizing 0L?

Its two lexical elements. I got into the habit of doing that when a
macro replacement bit me some years ago. It is a very unimportant part
of the patch. :-)

M
--
Mark Murray
iumop ap!sdn w,I idlaH



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