]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
cleanup
authorTimo Sirainen <tss@iki.fi>
Wed, 3 Dec 2003 13:16:29 +0000 (15:16 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 3 Dec 2003 13:16:29 +0000 (15:16 +0200)
--HG--
branch : HEAD

src/lib/hash.c

index 3512189015c7e8ffbbce6b893c473ba453a4a513..e1f20033d7faee549b256f7d8dfa4a80e9061609 100644 (file)
@@ -30,6 +30,12 @@ struct hash_table {
        hash_cmp_callback_t *key_compare_cb;
 };
 
+struct hash_iterate_context {
+       struct hash_table *table;
+       struct hash_node *next;
+       size_t pos;
+};
+
 static int hash_resize(struct hash_table *table, int grow);
 
 static int direct_cmp(const void *p1, const void *p2)
@@ -319,12 +325,6 @@ size_t hash_size(struct hash_table *table)
        return table->nodes_count;
 }
 
-struct hash_iterate_context {
-       struct hash_table *table;
-       struct hash_node *next;
-       size_t pos;
-};
-
 struct hash_iterate_context *hash_iterate_init(struct hash_table *table)
 {
        struct hash_iterate_context *ctx;