diff options
author | wollman <wollman@FreeBSD.org> | 1993-11-07 17:43:17 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1993-11-07 17:43:17 +0000 |
commit | 371ee40cea1e168ed119bcd1cde2809629c4ac68 (patch) | |
tree | 7642d79d397e1c876673a91bfe70b030e5bcb793 /sys/i386/include/endian.h | |
parent | c1b92d6bad47f8c2ca5bd5d68fdad201868e0126 (diff) | |
download | FreeBSD-src-371ee40cea1e168ed119bcd1cde2809629c4ac68.zip FreeBSD-src-371ee40cea1e168ed119bcd1cde2809629c4ac68.tar.gz |
Made all header files idempotent and moved incorrect common data from
headers into a related source file. Added cons.h as first step towards
moving i386/i386/cons.h to machine/cons.h where it belongs.
Diffstat (limited to 'sys/i386/include/endian.h')
-rw-r--r-- | sys/i386/include/endian.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h index 9abd47e..8c7dc4a 100644 --- a/sys/i386/include/endian.h +++ b/sys/i386/include/endian.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * from: @(#)endian.h 7.8 (Berkeley) 4/3/91 - * $Id$ + * $Id: endian.h,v 1.2 1993/10/16 14:39:15 rgrimes Exp $ */ +#ifndef _MACHINE_ENDIAN_H_ +#define _MACHINE_ENDIAN_H_ 1 + /* * Definitions for byte order, according to byte significance from low * address to high. @@ -108,3 +111,4 @@ #define HTONL(x) (x) = htonl((u_long)x) #define HTONS(x) (x) = htons((u_short)x) #endif +#endif /* _MACHINE_ENDIAN_H_ */ |