< bool employee_setName(employee *e, char na[]) --- > bool employee_setName (employee *e, unique char na[])
< ercList elem; < ercList prev; --- > ercList elem = c->vals;
< for (prev = 0, elem = c->vals; < elem != 0; < prev = elem, elem = elem->next) --- > if (elem != NULL)
< if (prev == 0)
> free (elem); > c->size--; > return TRUE; > }
< prev->next = elem->next; --- > { > ercList prev = elem; > elem = elem->next;
> for (; elem != 0; prev = elem, elem = elem->next) > { > if (eref_equal (elem->val, er)) > { > prev->next = elem->next;
> } > }
> # include <assert.h>
< typedef struct { ercList vals; int size; } ercInfo; --- > typedef struct { /*@null@*/ ercList vals; int size; } ercInfo;
< erc erc_create(void) --- > only erc erc_create(void)
< char *erc_sprint(erc c) --- > only char *erc_sprint(erc c)
< void erc_final(erc c) --- > void erc_final (only erc c)
> /*@+loopexec@*/
> /*@=loopexec@*/
< employee *conts; < eref_status *status; --- > /*@reldef@*/ /*@only@*/ employee *conts; > /*@only@*/ eref_status *status;