Add void to function signatures meant to be used without args

This commit is contained in:
Michael Cardell Widerkrantz 2024-03-04 15:53:12 +01:00 committed by dehanj
parent 046343e525
commit e085d0ebd0
No known key found for this signature in database
GPG key ID: 3707A9DBF4BB8F1A
4 changed files with 11 additions and 11 deletions

View file

@ -106,7 +106,7 @@ uint32_t wait_timer_tick(uint32_t last_timer)
}
}
void zero_fwram()
void zero_fwram(void)
{
for (int i = 0; i < TK1_MMIO_FW_RAM_SIZE; i++) {
fw_ram[i] = 0x00;
@ -149,7 +149,7 @@ void failmsg(char *s)
puts("\r\n");
}
int main()
int main(void)
{
// Function pointer to blake2s()
volatile int (*fw_blake2s)(void *, unsigned long, const void *,