aboutsummaryrefslogtreecommitdiff
path: root/c_emulator/riscv_platform.c
diff options
context:
space:
mode:
authorBill McSpadden <bill@riscv.org>2024-05-23 08:51:33 -0500
committerGitHub <noreply@github.com>2024-05-23 08:51:33 -0500
commitbaf157df2570f6d80a6e333d77e3caf0df9cc811 (patch)
tree2d11cac6afa028d4e1397db3a1c071aa11dc2b97 /c_emulator/riscv_platform.c
parentaf5c2f2647f1d4f6985f3590fb3f881de6b348cd (diff)
parentd1a2d83e00e5037f4354692c70a5be085f3c147c (diff)
downloadsail-riscv-baf157df2570f6d80a6e333d77e3caf0df9cc811.zip
sail-riscv-baf157df2570f6d80a6e333d77e3caf0df9cc811.tar.gz
sail-riscv-baf157df2570f6d80a6e333d77e3caf0df9cc811.tar.bz2
Merge pull request #483 from Alasdair/c23_warn_fix
csim: Fix C23 compatability warning
Diffstat (limited to 'c_emulator/riscv_platform.c')
-rw-r--r--c_emulator/riscv_platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_emulator/riscv_platform.c b/c_emulator/riscv_platform.c
index 5b98528..2fdb63f 100644
--- a/c_emulator/riscv_platform.c
+++ b/c_emulator/riscv_platform.c
@@ -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();
}