aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-01-08 10:19:33 +0000
committerAndreas Jaeger <aj@suse.de>2002-01-08 10:19:33 +0000
commit5374babef37bf3aa6fd8f200d912035407abe77c (patch)
treec48f2827a36a7906b4d7bad43b4f72cc1351d833 /sysdeps
parent3c2105f0b07f490cd67d482c3b1bc442d8c8fab3 (diff)
downloadglibc-5374babef37bf3aa6fd8f200d912035407abe77c.tar
glibc-5374babef37bf3aa6fd8f200d912035407abe77c.tar.gz
glibc-5374babef37bf3aa6fd8f200d912035407abe77c.tar.bz2
glibc-5374babef37bf3aa6fd8f200d912035407abe77c.zip
Prevent double inclusion.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/m68k/bits/byteswap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/m68k/bits/byteswap.h b/sysdeps/m68k/bits/byteswap.h
index ea6aa964b0..549d4452ef 100644
--- a/sysdeps/m68k/bits/byteswap.h
+++ b/sysdeps/m68k/bits/byteswap.h
@@ -1,5 +1,5 @@
/* Macros to swap the order of bytes in integer values. m68k version.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 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. We don't provide an assembler version
because GCC is smart enough to generate optimal assembler output, and
this allows for better cse. */
@@ -60,3 +63,5 @@
__bswap_64_r.__l[1] = __bswap_32 (__bswap_64_v.__l[0]); \
__bswap_64_r.__ll; })
#endif
+
+#endif /* _BITS_BYTESWAP_H */