summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-11-09 23:05:20 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-11-09 23:05:20 +0000
commit4edcaf7855a1c7029b83b06f8ff7581a073edfd3 (patch)
tree2e57aa8c6bb8ca1d6db267469e21a46ddf009cdb /sys/arch/sun3
parentbc1c3823e1390426b1ec28ed9ea209fad460d50d (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/sun3')
-rw-r--r--sys/arch/sun3/include/endian.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sun3/include/endian.h b/sys/arch/sun3/include/endian.h
index 4725a83ab43..6fb98ea59ab 100644
--- a/sys/arch/sun3/include/endian.h
+++ b/sys/arch/sun3/include/endian.h
@@ -1,4 +1,9 @@
-/* $OpenBSD: endian.h,v 1.2 1996/11/25 13:11:37 niklas Exp $ */
+/* $OpenBSD: endian.h,v 1.3 1997/11/09 23:05:17 niklas Exp $ */
/* $NetBSD: endian.h,v 1.6 1994/11/21 21:33:37 gwr Exp $ */
+#ifndef _SUN3_ENDIAN_H_
+#define _SUN3_ENDIAN_H_
+
#include <m68k/endian.h>
+
+#endif /* _SUN3_ENDIAN_H */