Index | Thread | Search

From:
Philip Guenther <guenther@gmail.com>
Subject:
Re: Cruft: drop htonl() etc. from libc
To:
George Koehler <kernigh@gmail.com>
Cc:
Mark Kettenis <mark.kettenis@xs4all.nl>, Christian Weisgerber <naddy@mips.inka.de>, tech@openbsd.org
Date:
Fri, 12 Apr 2024 16:29:15 -0700

Download raw body.

Thread
On Fri, Apr 12, 2024 at 1:41 PM George Koehler <kernigh@gmail.com> wrote:
...

> I believe that macros like htonl don't need functions, but this
> diff is correct to keep a function which already exists.
>

Unless explicitly specified as a macro, POSIX requires all functional
interfaces to have a function prototype and external symbol.


Philip