change
authorbdemsky <bdemsky>
Wed, 3 Sep 2008 03:12:08 +0000 (03:12 +0000)
committerbdemsky <bdemsky>
Wed, 3 Sep 2008 03:12:08 +0000 (03:12 +0000)
Robust/src/Runtime/chash.h

index f8bae0447f5e43b9341fee48ab81ac64f45e9867..c8bf44162fb2c2ef043ce8590cca962983d1f532 100644 (file)
@@ -20,8 +20,8 @@ typedef struct ctable {
 
 /* Prototypes for hash*/
 ctable_t *cCreate(unsigned int size, float loadfactor);
-unsigned int cInsert(ctable_t *table, unsigned int key, void *val);
-void *cSearch(chashtable_t *table, unsigned int key); //returns val, NULL if not found
+unsigned int cInsert(ctable_t *table, unsigned int key, unsigned int val);
+unsigned int cSearch(chashtable_t *table, unsigned int key); //returns val, NULL if not found
 unsigned int cRemove(chashtable_t *table, unsigned int key); //returns -1 if not found
 unsigned int cResize(chashtable_t *table, unsigned int newsize);
 void cDelete(chashtable_t *table);