| 550 | |
| 551 | /* discoveries qsort comparison function */ |
| 552 | staticfn int QSORTCALLBACK |
| 553 | discovered_cmp(const genericptr v1, const genericptr v2) |
| 554 | { |
| 555 | const char *s1 = *(const char **) v1; |
| 556 | const char *s2 = *(const char **) v2; |
| 557 | /* each element starts with "* " or " " but we don't sort by those */ |
| 558 | int res = strcmpi(s1 + 2, s2 + 2); |
| 559 | |
| 560 | if (res == 0) { |
| 561 | ; /* no tie-breaker needed */ |
| 562 | } |
| 563 | return res; |
| 564 | } |
| 565 | |
| 566 | staticfn char * |
| 567 | sortloot_descr(int otyp, char *outbuf) |
nothing calls this directly
no outgoing calls
no test coverage detected