diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-09-24 09:16:57 +0000 |
---|---|---|
committer | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-10-29 08:13:15 +0000 |
commit | dc4e697f2fec232cecfd1d162365ce836c785369 (patch) | |
tree | 5ebc62102bd6896e8891d7caf42ded403165c1cc /sim/erc32/erc32.c | |
parent | 58d8e5fab3798ed91378b661088f5e6b175bbd98 (diff) | |
download | gdb-dc4e697f2fec232cecfd1d162365ce836c785369.zip gdb-dc4e697f2fec232cecfd1d162365ce836c785369.tar.gz gdb-dc4e697f2fec232cecfd1d162365ce836c785369.tar.bz2 |
sim/erc32: Insert void parameter
Clang generates a warning if there is a function declaration/definition
with zero arguments. Such declarations/definitions without a prototype (an
argument list) are deprecated forms of indefinite arguments
("-Wdeprecated-non-prototype"). On the default configuration, it causes a
build failure (unless "--disable-werror" is specified).
This commit replaces () with (void) to avoid this warning.
Diffstat (limited to 'sim/erc32/erc32.c')
0 files changed, 0 insertions, 0 deletions