On Sunday 18 January 2009 17:11:22 ext Luiz Augusto von Dentz wrote: > Hi > > > And seriously, having "do { } while(0)" for a multiline macro is a must. > > Interesting, what does it do that { } doesn't? By searching in the Internet it is possible to find some rationale for this: http://vivekkutal.blogspot.com/2006/03/do-while0.html Anyway, it is part of linux kernel CodingStyle -- Best regards, Siarhei Siamashka -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html