| 232 | } |
| 233 | |
| 234 | static void check_unique(struct param *copy, |
| 235 | int (*compar) (const struct param *a, |
| 236 | const struct param *b, void *unused)) |
| 237 | { |
| 238 | asort(copy, tal_count(copy), compar, NULL); |
| 239 | check_distinct(copy, compar); |
| 240 | } |
| 241 | |
| 242 | /* |
| 243 | * Verify consistent internal state. |
no test coverage detected