On Sun, Jul 31, 2022 at 11:47:40AM +0200, [email protected] wrote:
>  static void *
> -reallocarray(void *p, size_t len, size_t size)
> +reallocate_array(void *p, size_t len, size_t size)

Given that this no longer shadows a libc/conventional function, I'd go
one step further and move the `fprintf + exit` check inside
reallocate_array() so the calling code doesn't need to worry about null
returns.

- NRK

Reply via email to