X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=hashmap.h;h=3ff3efe8d158c694bc64a25ddc6e80a801d0f859;hb=6e2ef85b2572af82a0ce035516d65218bdc80fa4;hp=9cdd7016bc9c22872cb4002356c3e4e0caa7267c;hpb=afb757b1a8a416b3c692728330a266b3915eef41;p=elogind.git diff --git a/hashmap.h b/hashmap.h index 9cdd7016b..3ff3efe8d 100644 --- a/hashmap.h +++ b/hashmap.h @@ -80,6 +80,6 @@ void* hashmap_last(Hashmap *h); for ((i) = ITERATOR_FIRST, (e) = hashmap_iterate((h), &(i), (const void**) &(k)); (e); (e) = hashmap_iterate((h), &(i), (const void**) &(k))) #define HASHMAP_FOREACH_BACKWARDS(e, h, i) \ - for ((i) = ITERATE_LAST, (e) = hashmap_iterate_backwards((h), &(i), NULL); (e); (e) = hashmap_iterate_backwards((h), &(i), NULL)) + for ((i) = ITERATOR_LAST, (e) = hashmap_iterate_backwards((h), &(i), NULL); (e); (e) = hashmap_iterate_backwards((h), &(i), NULL)) #endif