| 3348 | } |
| 3349 | |
| 3350 | void |
| 3351 | clear_status_hilites(void) |
| 3352 | { |
| 3353 | int i; |
| 3354 | |
| 3355 | for (i = 0; i < MAXBLSTATS; ++i) { |
| 3356 | struct hilite_s *temp, *next; |
| 3357 | |
| 3358 | for (temp = gb.blstats[0][i].thresholds; temp; temp = next) { |
| 3359 | next = temp->next; |
| 3360 | free(temp); |
| 3361 | } |
| 3362 | gb.blstats[0][i].thresholds = gb.blstats[1][i].thresholds = 0; |
| 3363 | /* pointer into thresholds list, now stale */ |
| 3364 | gb.blstats[0][i].hilite_rule = gb.blstats[1][i].hilite_rule = 0; |
| 3365 | } |
| 3366 | } |
| 3367 | |
| 3368 | staticfn char * |
| 3369 | hlattr2attrname(int attrib, char *buf, size_t bufsz) |
no outgoing calls
no test coverage detected