diff options
author | Andreas Jaeger <aj@suse.de> | 2002-01-08 10:19:35 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-01-08 10:19:35 +0000 |
commit | 5c26fecb6f7dae69c878c2ecdeb81636e571593c (patch) | |
tree | fa79dbd586fc7370ab07b45d17ca548507f618a3 /bits/byteswap.h | |
parent | Update. (diff) | |
download | glibc-5c26fecb6f7dae69c878c2ecdeb81636e571593c.tar.gz glibc-5c26fecb6f7dae69c878c2ecdeb81636e571593c.tar.bz2 glibc-5c26fecb6f7dae69c878c2ecdeb81636e571593c.zip |
Prevent double inclusion.
Diffstat (limited to 'bits/byteswap.h')
-rw-r--r-- | bits/byteswap.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bits/byteswap.h b/bits/byteswap.h index 7866abe9c2..38d8540130 100644 --- a/bits/byteswap.h +++ b/bits/byteswap.h @@ -1,5 +1,5 @@ /* Macros to swap the order of bytes in integer values. - Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,6 +21,9 @@ # error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." #endif +#ifndef _BITS_BYTESWAP_H +#define _BITS_BYTESWAP_H 1 + /* Swap bytes in 16 bit value. */ #ifdef __GNUC__ # define __bswap_16(x) \ @@ -77,3 +80,5 @@ __bswap_32 (unsigned int __bsx) } \ __r.__ll; })) #endif + +#endif /* _BITS_BYTESWAP_H */ |