diff options
Diffstat (limited to 'hash_table.c')
-rw-r--r-- | hash_table.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hash_table.c b/hash_table.c index d097039..cb6884e 100644 --- a/hash_table.c +++ b/hash_table.c @@ -84,19 +84,19 @@ static const struct { }; static int -entry_is_free(struct hash_entry *entry) +entry_is_free(const struct hash_entry *entry) { return entry->key == NULL; } static int -entry_is_deleted(struct hash_entry *entry) +entry_is_deleted(const struct hash_entry *entry) { return entry->key == deleted_key; } static int -entry_is_present(struct hash_entry *entry) +entry_is_present(const struct hash_entry *entry) { return entry->key != NULL && entry->key != deleted_key; } |