Re: do {} while(0)

David S. Miller (davem@redhat.com)
Mon, 28 Jun 1999 01:27:02 -0700


Date: Mon, 28 Jun 1999 16:20:07 +0800
From: wu_yb <wu_yb@263.net>

Any difference between {} and do {} while(0); or
{ ... } and do {...} while(0). Are there any
special effect ?

Avoids "empty statement" warnings from the compiler.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/