Sardañ[EMAIL PROTECTED], Eliel writes:
 > I'm taking a look at the linux code and I don't understand how do you
 > programm...mmm (?) may be i'm a stupid why in include/asm/unistd.h in some
 > macros you use this:

Two reasons:

1) Empty statements give a warning from the compiler so
   this is why you see "#define FOO do { } while(0)"
2) It gives you a basic block in which to declare local
   variables.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to