X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fhashtable%2Fhashtable.h;h=cd878952bd4eb08e5b673b7783d468b85182cd6d;hb=ce58fbd1aaba9710d38001455ab46da4d3125358;hp=7aa27fb30f36587babd15bce8482ecbb8d9e3ffa;hpb=a447839504042d706b30c347a17150813ecadd4a;p=ccan diff --git a/ccan/hashtable/hashtable.h b/ccan/hashtable/hashtable.h index 7aa27fb3..cd878952 100644 --- a/ccan/hashtable/hashtable.h +++ b/ccan/hashtable/hashtable.h @@ -75,14 +75,14 @@ bool hashtable_del(struct hashtable *ht, unsigned long hash, const void *p); _hashtable_traverse(ht, cast_if_type(bool (*)(void *, void *), \ cast_if_any(bool (*)(void *, \ void *), \ - (cb), (cb), \ + (cb), &*(cb), \ bool (*)(const type *, \ const typeof(*cbarg) *), \ bool (*)(type *, \ const typeof(*cbarg) *), \ bool (*)(const type *, \ typeof(*cbarg) *)), \ - (cb), \ + &*(cb), \ bool (*)(type *, typeof(*cbarg) *)), \ (cbarg))