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

move ring_buffer.h to sys/ring_buffer.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 15:57:18 -04:00
commit 7435e5e089
14 changed files with 475 additions and 473 deletions

View file

@ -16,7 +16,7 @@
#include <ztest.h>
#include <irq_offload.h>
#include <ring_buffer.h>
#include <sys/ring_buffer.h>
#include <logging/log.h>
LOG_MODULE_REGISTER(test);