cleanup: include/: move atomic.h to sys/atomic.h

move atomic.h to sys/atomic.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 12:25:32 -04:00
commit e1e05a2eac
59 changed files with 531 additions and 516 deletions

View file

@ -151,7 +151,7 @@ extern "C" {
//------------------------------------------------------------------------------
#include <atomic.h>
#include <sys/atomic.h>
/** @brief Atomic 32-bit unsigned type. */
#define nrfx_atomic_t atomic_t