diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_ring.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apr_ring.h b/include/apr_ring.h index e7373ea8a..4f006e4fc 100644 --- a/include/apr_ring.h +++ b/include/apr_ring.h @@ -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)); \ |