summaryrefslogtreecommitdiff
path: root/ecp/src/ecp/htable/hashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/src/ecp/htable/hashtable.h')
-rwxr-xr-xecp/src/ecp/htable/hashtable.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/ecp/src/ecp/htable/hashtable.h b/ecp/src/ecp/htable/hashtable.h
index a0b1949..8faeafc 100755
--- a/ecp/src/ecp/htable/hashtable.h
+++ b/ecp/src/ecp/htable/hashtable.h
@@ -94,24 +94,18 @@ unsigned int
hashtable_prime_size(unsigned int minsize);
/*****************************************************************************/
-/* hashtable_iterator_key
- * - return the key of the (key,value) pair at the current position */
+/* hashtable_entry_key
+ * - return the key of the (key,value) pair from hash table entry */
-extern inline void *
-hashtable_entry_key(struct entry *e)
-{
- return e->v;
-}
+void *
+hashtable_entry_key(struct entry *e);
/*****************************************************************************/
-/* hashtable_iterator_value
- * - return the value of the (key,value) pair at the current position */
+/* hashtable_entry_value
+ * - return the value of the (key,value) pair from hash table entry */
-extern inline void *
-hashtable_entry_value(struct entry *e)
-{
- return e->v;
-}
+void *
+hashtable_entry_value(struct entry *e);
/*****************************************************************************
* hashtable_insert