This website requires JavaScript.
Explore
Help
Sign In
Aren
/
NetBSD
Watch
1
Star
0
Fork
You've already forked NetBSD
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
1a9289d09a
NetBSD
/
sys
/
arch
/
next68k
/
include
/
bswap.h
4 lines
93 B
C
Raw
Normal View
History
Unescape
Escape
Include <sys/bswap.h> for function prototypes. i386, pc532 and vax still include <machine/byte_swap.h> and define macros for some of the bswap*() functions.
1999-08-21 09:39:51 +04:00
/* $NetBSD: bswap.h,v 1.2 1999/08/21 05:39:53 simonb Exp $ */
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 16:31:15 +03:00
#
include
<m68k/bswap.h>