Displaying 1 result from an estimated 1 matches for "trs_cnt".
2007 Sep 13
1
chartr better
...table_t *xtable;
+ int xtable_cnt;
+ wchar_t c_old, c_new, *wc;
const char *xi, *s;
struct wtr_spec *trs_old, **trs_old_ptr;
struct wtr_spec *trs_new, **trs_new_ptr;
-
- for(i = 0; i <= UCHAR_MAX; i++) xtable[i] = i;
+ struct wtr_spec *trs_cnt, **trs_cnt_ptr;
/* Initialize the old and new wtr_spec lists. */
+ trs_cnt = Calloc(1, struct wtr_spec);
+ trs_cnt->type = WTR_INIT;
+ trs_cnt->next = NULL;
trs_old = Calloc(1, struct wtr_spec);
trs_old->type = WTR_INIT;
trs_old->...