******** fig5.21a ********** HASH_TABLE rehash( HASH_TABLE H ) { unsigned int i, old_size; cell *old_cells; /*1*/ old_cells = H->the_cells; /*2*/ old_size = H->table_size; /*3*/ H = initialize_table( 2*old_size ); /* Get a new, empty table */ /* Scan through old table, reinserting into new */ /*4*/ for( i=0; i