| 547 | } |
| 548 | |
| 549 | void * |
| 550 | safe_realloc(void *ptr, size_t size) |
| 551 | { |
| 552 | void *ret = realloc(ptr, size); |
| 553 | |
| 554 | if (ret == NULL) |
| 555 | err(EX_OSERR, "realloc"); |
| 556 | return ret; |
| 557 | } |
| 558 | |
| 559 | /* |
| 560 | * Compare things like interface or table names. |
no test coverage detected