NetBSD/lib/libc/gen/Lint_bswap16.c
bouyer dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00

13 lines
158 B
C

/* $NetBSD: */
/* Written by Manuel Bouyer. Public Domain */
#include <sys/types.h>
/*ARGSUSED*/
u_int16_t
bswap16(b16)
u_int16_t b16;
{
return 0;
}