Explorar el Código

[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.
tags/v0.9.4
Michael Brown hace 16 años
padre
commit
2b9e7a4767
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0
    3
      src/arch/i386/include/bits/endian.h

+ 0
- 3
src/arch/i386/include/bits/endian.h Ver fichero

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

Loading…
Cancelar
Guardar