瀏覽代碼

[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 年之前
父節點
當前提交
2b9e7a4767
共有 1 個檔案被更改,包括 0 行新增3 行删除
  1. 0
    3
      src/arch/i386/include/bits/endian.h

+ 0
- 3
src/arch/i386/include/bits/endian.h 查看文件

@@ -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…
取消
儲存