From 9cee42f10dbc5b33866ff137b926a74abd7c1a5b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 1 Mar 2002 20:46:26 +0000 Subject: Major rework of the include files to eliminate redundancy and to better support each arch. This is a really big patch... -Erik --- libc/sysdeps/linux/m68k/bits/byteswap.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/m68k/bits/byteswap.h') diff --git a/libc/sysdeps/linux/m68k/bits/byteswap.h b/libc/sysdeps/linux/m68k/bits/byteswap.h index ea6aa964b..549d4452e 100644 --- a/libc/sysdeps/linux/m68k/bits/byteswap.h +++ b/libc/sysdeps/linux/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 directly; include 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 */ -- cgit v1.2.3