diff options
Diffstat (limited to 'server/util')
-rw-r--r-- | server/util/dlinklist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/util/dlinklist.h b/server/util/dlinklist.h index 0142a131..be5ff914 100644 --- a/server/util/dlinklist.h +++ b/server/util/dlinklist.h @@ -88,10 +88,10 @@ do { \ } while (0) /* demote an element to the end of the list, needs a tmp pointer */ -#define DLIST_DEMOTE(list, p, tmp) \ +#define DLIST_DEMOTE(list, p, type) \ do { \ DLIST_REMOVE(list, p); \ - DLIST_ADD_END(list, p, tmp); \ + DLIST_ADD_END(list, p, type); \ } while (0) /* concatenate two lists - putting all elements of the 2nd list at the |