david/ipxe
Archived
1
0

[libc] Remove unused le32_to_cpup(x) and cpu_to_le16p() macros

If we ever need these macros, they should be defined in
include/{big,little}_bswap.h, and the whole family should be defined.
This commit is contained in:
Michael Brown 2008-06-20 11:40:08 +01:00
parent 14fe4d4ba5
commit 2b9e7a4767

View File

@ -3,7 +3,4 @@
#define __BYTE_ORDER __LITTLE_ENDIAN #define __BYTE_ORDER __LITTLE_ENDIAN
#define le32_to_cpup(x) (*(uint32_t *)(x))
#define cpu_to_le16p(x) (*(uint16_t*)(x))
#endif /* ETHERBOOT_BITS_ENDIAN_H */ #endif /* ETHERBOOT_BITS_ENDIAN_H */