History log of /openbsd-src/lib/libc/net/ntohl.c (Results 1 – 8 of 8)
Revision Date Author Comments
# ed759541 15-Apr-2024 naddy <naddy@openbsd.org>

drop htonl(), htons(), ntohl(), ntohs() MD functions from libc

Userland code compiled in a normal fashion picks up the htonl(),
htons(), ntohl(), ntohs() macros implemented by endian.h. The
functio

drop htonl(), htons(), ntohl(), ntohs() MD functions from libc

Userland code compiled in a normal fashion picks up the htonl(),
htons(), ntohl(), ntohs() macros implemented by endian.h. The
functions in libc are effectively unused. Keep the MI functions
in case something looks for the symbols in libc or plays games
with #undef, but change them to wrap the implementation from
endian.h.

tweaks suggested by claudio@, ok miod@

show more ...


# be9b7050 21-Jul-2014 guenther <guenther@openbsd.org>

Switch from <sys/endian.h> or <machine/endian.h> to the new,
being-standardized <endian.h>

ok deraadt@ millert@ beck@


# 0038de2c 06-Aug-2005 espie <espie@openbsd.org>

zap rcsid.
split functions off res_debug.c so that getnetnamadr.c does not pull it
all when it's used.

okay deraadt@, krw@


# db5b349c 25-Mar-2005 otto <otto@openbsd.org>

ansify. ok deraadt@ moritz@


# 843f2393 12-Dec-1996 tholo <tholo@openbsd.org>

Update {hton,ntoh}[ls] argument and return types to match changes in
<machine/endian.h>


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 4b4b5f7f 10-Jun-1996 deraadt <deraadt@openbsd.org>

make 64 bit clean


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree