NULL vs 0 vs 0L bikeshed time
Mark Murray
markm at freebsd.org
Mon Mar 1 14:00:21 PST 2004
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
More information about the freebsd-current
mailing list