Parcourir la source

[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 il y a 16 ans
Parent
révision
2b9e7a4767
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0
    3
      src/arch/i386/include/bits/endian.h

+ 0
- 3
src/arch/i386/include/bits/endian.h Voir le fichier

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

Chargement…
Annuler
Enregistrer