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

@ -142,7 +142,7 @@ static void write(uint8_t *buf, size_t nbytes)
}
}
uint8_t readbyte()
uint8_t readbyte(void)
{
for (;;) {
if (*can_rx) {