Fix warnings for isaac w/ gcc4.1.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 16 Mar 2009 06:23:53 +0000 (16:53 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 16 Mar 2009 06:23:53 +0000 (16:53 +1030)
commit556b131c38e62d09313c89b0fb70fad3386cdb90
tree8562036f07b0b9f1732c521567a57ab8750556a9
parent2037a903729fea95d76ad7baa7c1e2cd3ce38f04
Fix warnings for isaac w/ gcc4.1.
Given the types used (uint32_t and uint64_t) many of the masks are unnecessary.
But mainly moving the bit extraction into separate inline functions means the
code is a bit clearer, and we only need to bracket one place.
But because these helpers shared the same names, I split the 32 and
64-bit tests.
ccan/isaac/isaac.c
ccan/isaac/isaac64.c
ccan/isaac/test/run.c
ccan/isaac/test/run64.c [new file with mode: 0644]