aboutsummaryrefslogtreecommitdiff
path: root/model/riscv_insts_zicond.sail
diff options
context:
space:
mode:
authorAlasdair <alasdair.armstrong@cl.cam.ac.uk>2024-05-21 00:43:16 +0100
committerAlasdair <alasdair.armstrong@cl.cam.ac.uk>2024-05-21 00:44:26 +0100
commitd1a2d83e00e5037f4354692c70a5be085f3c147c (patch)
tree77e82e36617dcc523e31452621d2671401ce56a3 /model/riscv_insts_zicond.sail
parentc2b5fb728cc7193a728222d12a5cbdc396116158 (diff)
downloadsail-riscv-d1a2d83e00e5037f4354692c70a5be085f3c147c.zip
sail-riscv-d1a2d83e00e5037f4354692c70a5be085f3c147c.tar.gz
sail-riscv-d1a2d83e00e5037f4354692c70a5be085f3c147c.tar.bz2
csim: Fix C23 compatability warning
The plat_get_16_random_bits was missing its unit argument, which produces the following warning: ``` generated_definitions/c/riscv_model_RV64.c:28041:34: warning: passing arguments to 'plat_get_16_random_bits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zseed = plat_get_16_random_bits(UNIT); ``` This commit adds the appropriate argument to the function in the C simulator
Diffstat (limited to 'model/riscv_insts_zicond.sail')
0 files changed, 0 insertions, 0 deletions