old-style-definition warnings

This commit is contained in:
Philippe Teuwen 2020-05-11 23:57:32 +02:00
commit 605a754b20
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ void legic_prng_forward(int count) {
}
}
uint8_t legic_prng_get_bit() {
uint8_t legic_prng_get_bit(void) {
uint8_t idx = 7 - ((lfsr.a & 4) | (lfsr.a >> 2 & 2) | (lfsr.a >> 4 & 1));
return lfsr.b >> idx & 1;
}