Skip to content

Commit

Permalink
Merge pull request #483 from Alasdair/c23_warn_fix
Browse files Browse the repository at this point in the history
csim: Fix C23 compatability warning
  • Loading branch information
billmcspadden-riscv committed May 23, 2024
2 parents af5c2f2 + d1a2d83 commit baf157d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c_emulator/riscv_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ mach_bits plat_rom_size(unit u)
}

// Provides entropy for the scalar cryptography extension.
mach_bits plat_get_16_random_bits()
mach_bits plat_get_16_random_bits(unit u)
{
return rv_16_random_bits();
}
Expand Down
2 changes: 1 addition & 1 deletion c_emulator/riscv_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mach_bits plat_rom_base(unit);
mach_bits plat_rom_size(unit);

// Provides entropy for the scalar cryptography extension.
mach_bits plat_get_16_random_bits();
mach_bits plat_get_16_random_bits(unit);

mach_bits plat_clint_base(unit);
mach_bits plat_clint_size(unit);
Expand Down

0 comments on commit baf157d

Please sign in to comment.