Sfoglia il codice sorgente

[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 16 anni fa
parent
commit
2b9e7a4767
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0
    3
      src/arch/i386/include/bits/endian.h

+ 0
- 3
src/arch/i386/include/bits/endian.h Vedi File

@@ -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…
Annulla
Salva