| 733 | } |
| 734 | |
| 735 | static int kv_seq_cmp(const void *x, const void *y) { |
| 736 | const kv_seq_t *a = (const kv_seq_t *)x; |
| 737 | const kv_seq_t *b = (const kv_seq_t *)y; |
| 738 | int c = kv_key_cmp(a->kv.key, a->kv.klen, b->kv.key, b->kv.klen); |
| 739 | if (c) { |
| 740 | return c; |
| 741 | } |
| 742 | return a->seq < b->seq ? -1 : a->seq > b->seq ? 1 : 0; |
| 743 | } |
| 744 | |
| 745 | typedef struct { |
| 746 | kv_seq_t *v; |
nothing calls this directly
no test coverage detected