Index | Thread | Search

From:
Philip Guenther <guenther@gmail.com>
Subject:
Re: ether_ntoa(3): make the argument const
To:
David Gwynne <david@gwynne.id.au>
Cc:
tech@openbsd.org
Date:
Sun, 22 Jun 2025 22:22:33 -0700

Download raw body.

Thread
On Sun, Jun 22, 2025 at 10:08 PM David Gwynne <david@gwynne.id.au> wrote:
>
> this drives me nuts when i want to print something out of what's already
> const. casting it works, but feels gross.
>
> i dont know what the abi/api version issues for this would be though.
>
> ok?

No ABI issue and AFAICT the only API issue is for the function pointer
(char *(*)(struct ether_addr *) != char *(*)(const struct ether_addr
*)), not for direct calls.  Meh, I'm not concerned

Manpage needs an update to match.

ok guenther@