From: bdemsky Date: Wed, 3 Sep 2008 03:12:08 +0000 (+0000) Subject: change X-Git-Tag: buildscript^6~59 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8286d16b20767acccea5d18952b4f351f4d35ae2;p=IRC.git change --- diff --git a/Robust/src/Runtime/chash.h b/Robust/src/Runtime/chash.h index f8bae044..c8bf4416 100644 --- a/Robust/src/Runtime/chash.h +++ b/Robust/src/Runtime/chash.h @@ -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);