Index: obj_term.h =================================================================== --- obj_term.h (revision 10697) +++ obj_term.h (revision 10698) @@ -63,6 +63,8 @@ /* Returns a vector of (pcb_any_obj_t *) containing all objects for the named termina. Returns NULL if tname doesn't exist in terminals. */ -vtp0_t *pcb_term_get(htsp_t *terminals, const char *tname); +#define pcb_term_get(terminals, tname) \ + (vtp0_t *)htsp_get(terminals, (char *)tname) + #endif