summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:13 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:13 +0900
commit61fb427c104d6f2334aaee9c7d90d8287d521b17 (patch)
treee4caa30fa69cb51705f22392cab8cf9c04dffb94 /src/hash.h
parent1478f6ab011981e9a986c0c30da680635d3e77bf (diff)
downloadwget-61fb427c104d6f2334aaee9c7d90d8287d521b17.tar.gz
wget-61fb427c104d6f2334aaee9c7d90d8287d521b17.tar.bz2
wget-61fb427c104d6f2334aaee9c7d90d8287d521b17.zip
Imported Upstream version 1.16.1upstream/1.16.1
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hash.h b/src/hash.h
index 8576760..99b0957 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -34,7 +34,7 @@ as that of the covered work. */
struct hash_table;
struct hash_table *hash_table_new (int, unsigned long (*) (const void *),
- int (*) (const void *, const void *));
+ int (*) (const void *, const void *));
void hash_table_destroy (struct hash_table *);
void *hash_table_get (const struct hash_table *, const void *);
@@ -47,11 +47,11 @@ int hash_table_remove (struct hash_table *, const void *);
void hash_table_clear (struct hash_table *);
void hash_table_for_each (struct hash_table *,
- int (*) (void *, void *, void *), void *);
+ int (*) (void *, void *, void *), void *);
typedef struct {
- void *key, *value; /* public members */
- void *pos, *end; /* private members */
+ void *key, *value; /* public members */
+ void *pos, *end; /* private members */
} hash_table_iterator;
void hash_table_iterate (struct hash_table *, hash_table_iterator *);
int hash_table_iter_next (hash_table_iterator *);