X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=hashmap.h;h=3ff3efe8d158c694bc64a25ddc6e80a801d0f859;hp=9cdd7016bc9c22872cb4002356c3e4e0caa7267c;hb=1b322bdb2a147e999c3861cba8a6b3ac0f3b712a;hpb=101d8e630eab1281a0e126a78433cf6d5bed4cb4 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