From 8248b0d0feb145ec1c2a28dee5af44c4d7a25690 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Tue, 31 Mar 2015 13:24:26 -0500 Subject: fixed up pedantic stuff. --- hashtable.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hashtable.h') diff --git a/hashtable.h b/hashtable.h index a58a392..60d1b50 100644 --- a/hashtable.h +++ b/hashtable.h @@ -21,7 +21,8 @@ void ll_destroy(struct entry *ll); void ht_destroy(struct hashtable *ht); void ht_freevalues(struct hashtable *ht); int ht_setkey(struct hashtable *ht,char *key,void *value); -struct entry *ll_getentry(struct entry *start,char *msg); +struct entry *ll_getentry(struct entry *start,char *key); struct entry *ht_getentry(struct hashtable *ht,char *key); -struct entry *ht_getnode(struct hashtable *ht,char *msg); -void *ht_getvalue(struct hashtable *ht,char *msg); +struct entry *ht_getnode(struct hashtable *ht,char *key); +void *ht_getvalue(struct hashtable *ht,char *key); +void ht_delete(struct hashtable *ht,char *key); -- cgit v1.2.3