aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-09-24 09:49:42 +0000
committerTsukasa OI <research_trasio@irq.a4lg.com>2022-10-29 08:13:15 +0000
commite47530f72f587550b1ff2f2adcfa4f64ec702d82 (patch)
tree44d9c2d25efee2b407f1f64f9cc7aa9acbf2611a /.gitignore
parentdc4e697f2fec232cecfd1d162365ce836c785369 (diff)
downloadgdb-e47530f72f587550b1ff2f2adcfa4f64ec702d82.zip
gdb-e47530f72f587550b1ff2f2adcfa4f64ec702d82.tar.gz
gdb-e47530f72f587550b1ff2f2adcfa4f64ec702d82.tar.bz2
sim/erc32: Use int32_t as event callback argument
Clang generates a warning if an argument is passed to a function without prototype (zero arguments, even without (void)). Such calls are deprecated forms of indefinite arguments passing ("-Wdeprecated-non-prototype"). On the default configuration, it causes a build failure (unless "--disable-werror" is specified). To fix that, this commit makes struct evcell to use int32_t as a callback (cfunc) argument of an event. int32_t is chosen because "event" function accepts "int32_t arg".
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions