diff options
-rw-r--r-- | server/util/dlinklist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/util/dlinklist.h b/server/util/dlinklist.h index 56241244..0142a131 100644 --- a/server/util/dlinklist.h +++ b/server/util/dlinklist.h @@ -110,4 +110,7 @@ do { \ } \ } while (0) +#define DLIST_FOR_EACH(p, list) \ + for ((p) = (list); (p) != NULL; (p) = (p)->next) + #endif /* _DLINKLIST_H */ |