X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fhtable%2Fhtable.h;h=bdce920b552eb0e23a5bbe53877a146decf87d81;hp=28755d617d67b7766d44fe3e5ce93d7956a85d55;hb=9e92552b1b2a1b631bde1c379b9f2950725b1245;hpb=2b3517d40f2d8ac728785a21da19db6e1230d010 diff --git a/ccan/htable/htable.h b/ccan/htable/htable.h index 28755d61..bdce920b 100644 --- a/ccan/htable/htable.h +++ b/ccan/htable/htable.h @@ -25,7 +25,7 @@ struct htable { size_t (*rehash)(const void *elem, void *priv); void *priv; unsigned int bits; - size_t elems, deleted, max, max_with_deleted; + size_t elems, deleted; /* These are the bits which are the same in all pointers. */ uintptr_t common_mask, common_bits; uintptr_t perfect_bit; @@ -50,7 +50,7 @@ struct htable { * static struct htable ht = HTABLE_INITIALIZER(ht, rehash, NULL); */ #define HTABLE_INITIALIZER(name, rehash, priv) \ - { rehash, priv, 0, 0, 0, 0, 0, -1, 0, 0, &name.perfect_bit } + { rehash, priv, 0, 0, 0, -1, 0, 0, &name.perfect_bit } /** * htable_init - initialize an empty hash table.