From: Philip Guenther Subject: Re: Cruft: drop htonl() etc. from libc To: George Koehler Cc: Mark Kettenis , Christian Weisgerber , tech@openbsd.org Date: Fri, 12 Apr 2024 16:29:15 -0700 On Fri, Apr 12, 2024 at 1:41 PM George Koehler 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