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

@ -10,7 +10,7 @@
#include <zephyr.h>
#include <misc/util.h>
#include <misc/dlist.h>
#include <ring_buffer.h>
#include <sys/ring_buffer.h>
#include <stdbool.h>
#ifdef __cplusplus

View file

@ -8,7 +8,7 @@
#define SHELL_UART_H__
#include <shell/shell.h>
#include <ring_buffer.h>
#include <sys/ring_buffer.h>
#include <sys/atomic.h>
#ifdef CONFIG_MCUMGR_SMP_SHELL
#include "mgmt/smp_shell.h"