rid of more of unnamed unions

This commit is contained in:
cathugger 2017-10-06 00:30:49 +00:00
parent c12df97b3b
commit 3bf616bee0

4
main.c
View file

@ -321,7 +321,7 @@ static void *dowork(void *task)
u64 prefix[4]; u64 prefix[4];
u64 key[4]; u64 key[4];
u64 hash[4]; u64 hash[4];
} ; } i;
} pubonion; } pubonion;
u8 * const pk = &pubonion.raw[pkprefixlen]; u8 * const pk = &pubonion.raw[pkprefixlen];
u8 secret[skprefixlen + SECRET_LEN]; u8 secret[skprefixlen + SECRET_LEN];
@ -401,7 +401,7 @@ static void *dofastwork(void *task)
u64 prefix[4]; u64 prefix[4];
u64 key[4]; u64 key[4];
u64 hash[4]; u64 hash[4];
} ; } i;
} pubonion; } pubonion;
u8 * const pk = &pubonion.raw[pkprefixlen]; u8 * const pk = &pubonion.raw[pkprefixlen];
u8 secret[skprefixlen + SECRET_LEN]; u8 secret[skprefixlen + SECRET_LEN];