<<On Tue, 13 Aug 2013 10:41:35 -0500, Andrew Deason <adea...@sinenomine.net> 
said:

> This should expand to something like

> for (tcall = ((struct rx_queue*)(&rx_incomingCallQueue))->next,
>      ncall = ((struct rx_queue*)tcall)->next;
>      tcall != &rx_incomingCallQueue;
>      tcall = ncall, ncall = ((struct rx_queue*)tcall)->next)

It's unfortunate that these macros are written in this style; the
casts make program analysis more difficult.  (The 4.4BSD queue(3)
macros are much cleaner in this regard, as well as more flexible.)

-GAWollman
_______________________________________________
OpenAFS-devel mailing list
OpenAFS-devel@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to