--- dist/frontends/cli/vcd_debug.c Fri Jan 4 21:20:29 2002 +++ aix43/frontends/cli/vcd_debug.c Tue Sep 17 09:51:49 2002 @@ -196,7 +196,7 @@ uint16_t lid; uint16_t offset; bool in_lot; -} offset_t; +} vcd_offset_t; static const char * _area_str (const struct psd_area_t *_area) @@ -238,7 +238,7 @@ _VCD_LIST_FOREACH (node, offset_list) { - offset_t *ofs = _vcd_list_node_data (node); + vcd_offset_t *ofs = _vcd_list_node_data (node); if (offset == ofs->offset) { @@ -260,7 +260,7 @@ _visit_pbc (debug_obj_t *obj, unsigned lid, unsigned offset, bool in_lot, bool ext) { VcdListNode *node; - offset_t *ofs; + vcd_offset_t *ofs; unsigned psd_size = ext ? obj->psd_x_size : _get_psd_size (obj); const uint8_t *psd = ext ? obj->psd_x : obj->psd; unsigned _rofs = offset * obj->info.offset_mult; @@ -302,7 +302,7 @@ } } - ofs = _vcd_malloc (sizeof (offset_t)); + ofs = _vcd_malloc (sizeof (vcd_offset_t)); ofs->offset = offset; ofs->lid = lid; @@ -370,7 +370,7 @@ } static int -_offset_t_cmp (offset_t *a, offset_t *b) +_vcd_offset_t_cmp (vcd_offset_t *a, vcd_offset_t *b) { if (a->offset > b->offset) return 1; @@ -397,7 +397,7 @@ _visit_pbc (obj, n + 1, uint16_from_be (lot->offset[n]), true, ext); _vcd_list_sort (ext ? obj->offset_x_list : obj->offset_list, - (_vcd_list_cmp_func) _offset_t_cmp); + (_vcd_list_cmp_func) _vcd_offset_t_cmp); } static void @@ -452,7 +452,7 @@ _VCD_LIST_FOREACH (node, offset_list) { - offset_t *ofs = _vcd_list_node_data (node); + vcd_offset_t *ofs = _vcd_list_node_data (node); unsigned _rofs = ofs->offset * mult; uint8_t type;