This website requires JavaScript.
Explore
Help
Sign In
Aren
/
NetBSD
Watch
1
Star
0
Fork
0
You've already forked NetBSD
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
f2d8f1aa62
NetBSD
/
sys
/
arch
/
atari
/
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:52 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>
Reference in New Issue
Copy Permalink