Quellcode durchsuchen

[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 vor 16 Jahren
Ursprung
Commit
2b9e7a4767
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0
    3
      src/arch/i386/include/bits/endian.h

+ 0
- 3
src/arch/i386/include/bits/endian.h Datei anzeigen

@@ -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 */

Laden…
Abbrechen
Speichern