summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/bswap.h
blob: fafe9c2aba75b79573a203b8d12d3c3045c5ca77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*      $NetBSD: bswap.h,v 1.3 2002/08/14 15:08:57 thorpej Exp $      */

#ifndef _MACHINE_BSWAP_H_
#define	_MACHINE_BSWAP_H_

#define __BSWAP_RENAME
#include <sys/bswap.h>

#ifdef __GNUC__

#include <arm/byte_swap.h>
#define	bswap16(x)	__byte_swap_16(x)
#define	bswap32(x)	__byte_swap_32(x)

#endif /* __GNUC__ */

#endif /* !_MACHINE_BSWAP_H_ */