Re: [TRIVIAL] include/asm-i386/module.h defined() fix

From: Rusty Russell
Date: Tue Sep 02 2003 - 01:42:55 EST


In message <Pine.LNX.4.56.0308301717480.18600@xxxxxxxxxxxxxxxxxxxxxxxxxx> you w
rite:
> Hi!
>
> Take a look at The C Programming Language (2nd ed.) page 91. "The
> expression defined(name) in a #if is 1 if the name has been defined, and 0
> otherwise." So defined should be used with parenthesis, I think. At least
> most of Linux kernel source code is doing so. Ok?

And page 232 indicates that the brackets are not required (hey, I had
to check, too).

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/