fix xxhash.h for code-format
@@ -2082,6 +2082,23 @@ static xxh_u32 XXH32_avalanche(xxh_u32 h32) {
#define XXH_get32bits(p) XXH_readLE32_align(p, align)
+ #define XXH_PROCESS1 \
+ do { \
+ \
+ h32 += (*ptr++) * XXH_PRIME32_5; \
+ h32 = XXH_rotl32(h32, 11) * XXH_PRIME32_1; \
+ \
+ } while (0)
+
+ #define XXH_PROCESS4 \
+ do { \
+ \
+ h32 += XXH_get32bits(ptr) * XXH_PRIME32_3; \
+ ptr += 4; \
+ h32 = XXH_rotl32(h32, 17) * XXH_PRIME32_4; \
+ \
+ } while (0)
+
/*!
* @internal
* @brief Processes the last 0-15 bytes of @p ptr.
@@ -2098,24 +2115,6 @@ static xxh_u32 XXH32_avalanche(xxh_u32 h32) {
*/
static xxh_u32 XXH32_finalize(xxh_u32 h32, const xxh_u8 *ptr, size_t len,
XXH_alignment align) {
-\
- #define XXH_PROCESS1 do {
-
- h32 += (*ptr++) * XXH_PRIME32_5;
- h32 = XXH_rotl32(h32, 11) * XXH_PRIME32_1;
-
- }
-
- while (0)
-
- #define XXH_PROCESS4 \
- do { \
- \
- h32 += XXH_get32bits(ptr) * XXH_PRIME32_3; \
- ptr += 4; \
- h32 = XXH_rotl32(h32, 17) * XXH_PRIME32_4; \
- \
- } while (0)
/* Compact rerolled version */
if (XXH_REROLL) {
