| 204 | /* tok822_sub_append - append sublist, return end of appended list */ |
| 205 | |
| 206 | TOK822 *tok822_sub_append(TOK822 *t1, TOK822 *t2) |
| 207 | { |
| 208 | if (t1->head) { |
| 209 | return (t1->tail = tok822_append(t1->tail, t2)); |
| 210 | } else { |
| 211 | t1->head = t2; |
| 212 | while (t2->next) |
| 213 | (t2 = t2->next)->owner = t1; |
| 214 | return (t1->tail = t2); |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | /* tok822_sub_prepend - prepend sublist, return end of prepended list */ |
| 219 |
no test coverage detected
searching dependent graphs…