summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/htonl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* drop htonl(), htons(), ntohl(), ntohs() MD functions from libcnaddy2024-04-151-10/+4
| | | | | | | | | | | 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@
* Switch from <sys/endian.h> or <machine/endian.h> to the new,guenther2014-07-211-2/+2
| | | | | | being-standardized <endian.h> ok deraadt@ millert@ beck@
* zap rcsid.espie2005-08-061-4/+1
| | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@
* ansify. ok deraadt@ moritz@otto2005-03-251-3/+2
|
* Update {hton,ntoh}[ls] argument and return types to match changes intholo1996-12-121-7/+5
| | | | <machine/endian.h>
* Fix RCS idstholo1996-08-191-4/+2
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* make 64 bit cleanderaadt1996-06-101-3/+3
|
* initial import of NetBSD treederaadt1995-10-181-0/+29