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
86932ac56e
NetBSD
/
sys
/
arch
/
sun3
/
include
/
bswap.h
4 lines
95 B
C
Raw
Normal View
History
Unescape
Escape
Make this identical to the other m68k machine/bswap.h by including m68k/bswap.h instead of sys/bswap.h. Solves part of PR toolchain/18314.
2002-11-23 14:04:33 +03:00
/* $NetBSD: bswap.h,v 1.3 2002/11/23 11:04:33 kristerw 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
Make this identical to the other m68k machine/bswap.h by including m68k/bswap.h instead of sys/bswap.h. Solves part of PR toolchain/18314.
2002-11-23 14:04:33 +03:00
#
include
<m68k/bswap.h>
Reference in New Issue
Copy Permalink