On 20 Oct 2022 09:32, Tsukasa OI wrote: > 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. would help to mention that int32_t was picked because that's what some parts of the event/callback code is already using. > --- > sim/erc32/erc32.c | 28 ++++++++++++++-------------- > sim/erc32/func.c | 8 ++++---- > sim/erc32/sis.h | 4 ++-- > 3 files changed, 20 insertions(+), 20 deletions(-) README.sis needs updating. otherwise looks OK. -mike