xref: /netbsd/sys/arch/arm/include/bswap.h (revision c4a72b64)
1 /*      $NetBSD: bswap.h,v 1.3 2002/08/14 15:08:57 thorpej Exp $      */
2 
3 #ifndef _MACHINE_BSWAP_H_
4 #define	_MACHINE_BSWAP_H_
5 
6 #define __BSWAP_RENAME
7 #include <sys/bswap.h>
8 
9 #ifdef __GNUC__
10 
11 #include <arm/byte_swap.h>
12 #define	bswap16(x)	__byte_swap_16(x)
13 #define	bswap32(x)	__byte_swap_32(x)
14 
15 #endif /* __GNUC__ */
16 
17 #endif /* !_MACHINE_BSWAP_H_ */
18