diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2015-05-10 10:07:51 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2015-05-10 10:07:51 +0000 |
commit | b2f03304306a8f009f7d7b23dc6eb143f3a1694c (patch) | |
tree | a3caf3a3fc3d29f34b8a25ff6bb8fb630250afd5 /app/xedit/util.h | |
parent | 0ba29d8c77ea5278e923b872dcdd8d00e0d2a47c (diff) |
Update to xedit 1.2.2
Diffstat (limited to 'app/xedit/util.h')
-rw-r--r-- | app/xedit/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/xedit/util.h b/app/xedit/util.h index 9717589b1..0bbe93daa 100644 --- a/app/xedit/util.h +++ b/app/xedit/util.h @@ -64,7 +64,7 @@ struct _hash_table { hash_table *hash_new(unsigned int length, hash_compare compare); hash_entry *hash_put(hash_table *hash, hash_entry *entry); hash_entry *hash_get(hash_table *hash, hash_key *name); -hash_entry * hash_check(hash_table *hash, char *name, unsigned int length); +hash_entry * hash_check(hash_table *hash, const char *name, unsigned int length); void hash_rem(hash_table *hash, hash_entry *entry); /* Removes from hash table but doesn't release any memory */ hash_entry *hash_rem_no_free(hash_table *hash, hash_entry *entry); |