get_trap_ent
extern tstat_ent_t *get_trap_ent(int);
if ((gtp = get_trap_ent(i)) == NULL)
if ((gtp = get_trap_ent(entno)) == NULL)
if ((gtp = get_trap_ent(entno)) == NULL)
if ((!g_active[j]) || ((gtp = get_trap_ent(j)) == NULL))
((gtp = get_trap_ent(i)) == NULL))