RISC-V: Fix riscv_set_tso declaration
authorTsukasa OI <research_trasio@irq.a4lg.com>
Wed, 21 Sep 2022 13:43:17 +0000 (13:43 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Wed, 21 Sep 2022 13:43:17 +0000 (13:43 +0000)
commit0242db993f8ad0a0de16dafc4ebd35bb6190c833
tree4b1c20f72bc14aad17217b59d267891ee480418e
parentf9a59eea78428159a9522bd64ec354a872f1dc31
RISC-V: Fix riscv_set_tso declaration

To avoid -Werror=strict-prototypes, this commit changes () to (void).
This is because "()" possibly means a function prototype with indeterminate
arguments on old C standards.

gas/ChangeLog:

* config/tc-riscv.c (riscv_set_tso): Fix declaration.
gas/config/tc-riscv.c