Closed Hywan closed 3 years ago
In C, a function defined as void f() declares a function that takes an unspecified number of arguments. It's better to use void f(void) to declare a function that takes no argument.
void f()
void f(void)
This patch fixes https://github.com/WebAssembly/wasm-c-api/issues/154.
In C, a function defined as
void f()
declares a function that takes an unspecified number of arguments. It's better to usevoid f(void)
to declare a function that takes no argument.This patch fixes https://github.com/WebAssembly/wasm-c-api/issues/154.