Skip to content

Commit

Permalink
Let's get rid of these damned things once and for all... for every line
Browse files Browse the repository at this point in the history
of code they save, they seem to introduce two to three bugs.  :)


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63555 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Cliff Woolley committed Jul 3, 2002
1 parent 97bbd9b commit df54134
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/apr_ring.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@
* APR_RING_REMOVE(ep, link);
* }
* </pre>
* @deprecated This macro causes more headaches than it's worth. Use
* one of the alternatives documented here instead; the clarity gained
* in what's really going on is well worth the extra line or two of code.
* This macro will be removed at some point in the future.
*/
#define APR_RING_FOREACH(ep, hp, elem, link) \
for ((ep) = APR_RING_FIRST((hp)); \
Expand Down

0 comments on commit df54134

Please sign in to comment.