Avoid the use of variable argument list function

This commit is contained in:
Marco Wang 2019-11-13 13:19:21 +08:00
parent 8725a88fba
commit 29919a938d

View File

@ -220,7 +220,7 @@ static inline void mi_atomic_write(volatile _Atomic(uintptr_t)* p, uintptr_t x)
#endif
#elif defined(__wasi__)
#include <sched.h>
static inline void mi_atomic_yield() {
static inline void mi_atomic_yield(void) {
sched_yield();
}
#else