diff options
author | Alasdair <alasdair.armstrong@cl.cam.ac.uk> | 2024-05-21 00:43:16 +0100 |
---|---|---|
committer | Alasdair <alasdair.armstrong@cl.cam.ac.uk> | 2024-05-21 00:44:26 +0100 |
commit | d1a2d83e00e5037f4354692c70a5be085f3c147c (patch) | |
tree | 77e82e36617dcc523e31452621d2671401ce56a3 /doc/ReadingGuide.md | |
parent | c2b5fb728cc7193a728222d12a5cbdc396116158 (diff) | |
download | sail-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 'doc/ReadingGuide.md')
0 files changed, 0 insertions, 0 deletions