On Sun, 2009-07-12 at 00:29 +0200, Frederic Weisbecker wrote:> #define rb_for_each_entry(tpos, pos, root, memb) \> for (pos = rb_first(root); pos && tpos = rb_entry(pos, typeof(*tpos), memb); \> pos = rb_next(pos->memb, typeof(*pos), memb))if you really want to do this, then at least call it:for_each_rb_entry().