new_size = toprime (size);
new_size = toprime ((unsigned int)size);
XP_HashListNew (int size, 				  XP_HashingFunction  hash_func, 				  XP_HashCompFunction comp_func){    XP_HashList * hash_struct = XP_NEW(XP_HashList);    XP_List **hash_list;	int new_size;    if(!hash_struct)	    return(NULL);	new_size = toprime (size);	XP_ASSERT (new_size >= size);    hash_list = (XP_List **) XP_ALLOC(sizeof(XP_List *) * new_size);    if(!hash_list)	  {		XP_FREE(hash_struct);		return(NULL);	  }    /* zero out the list     */    XP_MEMSET(hash_list, 0, sizeof(XP_List *) * new_size);    hash_struct->list          = hash_list;    hash_struct->size          = new_size;    hash_struct->hash_func     = hash_func;    hash_struct->comp_func     = comp_func;        return(hash_struct);}