| 396 | } |
| 397 | |
| 398 | static int region_num(const char *name) |
| 399 | { |
| 400 | unsigned int i; |
| 401 | |
| 402 | for (i = 0; i < max_regions; i++) { |
| 403 | if (strcasecmp(name, region_names[i].pretty) == 0) |
| 404 | return i; |
| 405 | if (strcasecmp(name, region_names[i].terse) == 0) |
| 406 | return i; |
| 407 | } |
| 408 | |
| 409 | return -1; |
| 410 | } |
| 411 | |
| 412 | static void dump_region(unsigned int num, const struct frba *frba) |
| 413 | { |
no test coverage detected