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:
parent
9e35d53d1f
commit
7435e5e089
14 changed files with 475 additions and 473 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue