diff --git a/src/platform/posix/posix_atomic.c b/src/platform/posix/posix_atomic.c index 6b1107129..cf5689750 100644 --- a/src/platform/posix/posix_atomic.c +++ b/src/platform/posix/posix_atomic.c @@ -233,7 +233,7 @@ nni_atomic_swap_bool(nni_atomic_bool *b, bool n) } void -nni_atomic_initbool(nni_atomic_bool *b) +nni_atomic_init_bool(nni_atomic_bool *b) { b->b = false; }