Remove duplicated U32TO8_LE() macro definition
parent
8e6e4c1e5b
commit
2d25b35c98
|
@ -24,12 +24,6 @@
|
||||||
|
|
||||||
#define ROTL(x, b) (uint32_t)(((x) << (b)) | ((x) >> (32 - (b))))
|
#define ROTL(x, b) (uint32_t)(((x) << (b)) | ((x) >> (32 - (b))))
|
||||||
|
|
||||||
#define U32TO8_LE(p, v) \
|
|
||||||
(p)[0] = (uint8_t)((v)); \
|
|
||||||
(p)[1] = (uint8_t)((v) >> 8); \
|
|
||||||
(p)[2] = (uint8_t)((v) >> 16); \
|
|
||||||
(p)[3] = (uint8_t)((v) >> 24);
|
|
||||||
|
|
||||||
#define U32TO8_LE(p, v) \
|
#define U32TO8_LE(p, v) \
|
||||||
(p)[0] = (uint8_t)((v)); \
|
(p)[0] = (uint8_t)((v)); \
|
||||||
(p)[1] = (uint8_t)((v) >> 8); \
|
(p)[1] = (uint8_t)((v) >> 8); \
|
||||||
|
|
Loading…
Reference in New Issue