#
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@
|
#
e7beb4a7 |
| 19-Feb-2002 |
millert <millert@openbsd.org> |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
b7113356 |
| 25-Jul-1997 |
mickey <mickey@openbsd.org> |
#if __STDC__ --> #ifdef __STDC__
|
#
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
|
#
9102a256 |
| 25-Mar-1996 |
tholo <tholo@openbsd.org> |
Pull in prototypes Do the right thing in presense of __STDC__
|
#
df930be7 |
| 18-Oct-1995 |
deraadt <deraadt@openbsd.org> |
initial import of NetBSD tree
|