From 8286d16b20767acccea5d18952b4f351f4d35ae2 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 3 Sep 2008 03:12:08 +0000 Subject: [PATCH] change --- Robust/src/Runtime/chash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.34.1