diff options
Diffstat (limited to 'source3/include/dlinklist.h')
-rw-r--r-- | source3/include/dlinklist.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/dlinklist.h b/source3/include/dlinklist.h index 851bf01d38..447948b521 100644 --- a/source3/include/dlinklist.h +++ b/source3/include/dlinklist.h @@ -52,5 +52,7 @@ /* promote an element to the top of the list */ #define DLIST_PROMOTE(list, p) \ +{ \ DLIST_REMOVE(list, p) \ - DLIST_ADD(list, p) + DLIST_ADD(list, p) \ +} |