diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-25 15:08:29 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-26 12:35:06 +0200 |
commit | 9afdd8b9df171729e1b06fdc3929b133552b852c (patch) | |
tree | 27b1e7836ae76f868e28c2634ac99b3afe1389ac /src | |
parent | device: avoid double icmp send on routing loop (diff) | |
download | wireguard-monolithic-historical-9afdd8b9df171729e1b06fdc3929b133552b852c.tar.xz wireguard-monolithic-historical-9afdd8b9df171729e1b06fdc3929b133552b852c.zip |
compat: clean up cruft
Diffstat (limited to 'src')
-rw-r--r-- | src/compat/siphash/siphash.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compat/siphash/siphash.c b/src/compat/siphash/siphash.c index 1ebfd5e..edbc893 100644 --- a/src/compat/siphash/siphash.c +++ b/src/compat/siphash/siphash.c @@ -15,11 +15,9 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) #ifdef __LITTLE_ENDIAN - #define HASH_LEN_DECLARE u32 hash; u32 len; - #define bytemask_from_count(cnt) (~(~0ul << (cnt)*8)) +#define bytemask_from_count(cnt) (~(~0ul << (cnt)*8)) #else - #define HASH_LEN_DECLARE u32 len; u32 hash; - #define bytemask_from_count(cnt) (~(~0ul >> (cnt)*8)) +#define bytemask_from_count(cnt) (~(~0ul >> (cnt)*8)) #endif #endif |