diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-11-09 23:05:20 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-11-09 23:05:20 +0000 |
commit | 4edcaf7855a1c7029b83b06f8ff7581a073edfd3 (patch) | |
tree | 2e57aa8c6bb8ca1d6db267469e21a46ddf009cdb /sys/arch/mac68k/include | |
parent | bc1c3823e1390426b1ec28ed9ea209fad460d50d (diff) |
New endian.h design. All architectures now use a common file for the bulk
part. Some ports can optimize the swap operations. This also means the
general API is extended with swap16, swap32, htobe16, htobe32, betoh16,
betoh32, htole16, htole32, letoh16 and letoh32.
Diffstat (limited to 'sys/arch/mac68k/include')
-rw-r--r-- | sys/arch/mac68k/include/endian.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/mac68k/include/endian.h b/sys/arch/mac68k/include/endian.h index 8a18b27e41c..1893ed3dbc7 100644 --- a/sys/arch/mac68k/include/endian.h +++ b/sys/arch/mac68k/include/endian.h @@ -1,4 +1,9 @@ -/* $OpenBSD: endian.h,v 1.2 1996/05/26 18:35:48 briggs Exp $ */ +/* $OpenBSD: endian.h,v 1.3 1997/11/09 23:05:09 niklas Exp $ */ /* $NetBSD: endian.h,v 1.5 1994/10/26 08:46:28 cgd Exp $ */ +#ifndef _MAC68K_ENDIAN_H_ +#define _MAC68K_ENDIAN_H_ + #include <m68k/endian.h> + +#endif /* _MAC68K_ENDIAN_H */ |