[COMMITTED PATCH 0/1] RISC-V: Minor fix to the 'Ztso' extension support, part 2
Tsukasa OI
research_trasio@irq.a4lg.com
Wed Sep 21 13:53:26 GMT 2022
Hi,
Obvious change related to -Werror=strict-prototypes is committed.
Change:
- Before: static void riscv_set_tso () { ... }
- After: static void riscv_set_tso (void) { ... }
The former () is used on function prototypes of old C standards, possibly
meaning a function with indeterminate arguments (deprecated though). To
avoid ambiguity, we need to use (void) for function declaration with
no arguments.
Thanks,
Tsukasa
Tsukasa OI (1):
RISC-V: Fix riscv_set_tso declaration
gas/config/tc-riscv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: f9a59eea78428159a9522bd64ec354a872f1dc31
--
2.34.1
More information about the Binutils
mailing list