zhangyu-duck opened a new pull request, #3733: URL: https://github.com/apache/nuttx-apps/pull/3733
## Summary Rename `atomic_fetch_xxx` to `atomic_xxx` (e.g., `atomic_fetch_add` -> `atomic_add`) and `atomic_store`/`atomic_load` to `atomic_set`/`atomic_read`, to match the `<nuttx/atomic.h>` API rename in the companion nuttx PR. The `atomic_fetch_xxx` naming is reserved by the C/C++ standard and conflicts with standard library declarations when `<atomic>`/`<stdatomic.h>` is included by third-party code. ## Files changed - `crypto/openssl_mbedtls_wrapper/mbedtls/ssl_lib.c` - `testing/libc/atomic/atomic_main.c` - `testing/ostest/roundrobin.c` - `testing/ostest/spinlock.c` ## Companion PR This is the apps companion to apache/nuttx#19868 (atomic: use toolchain builtin and rename atomic_fetch_xxx to atomic_xxx). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
