cleanup: include/: move fcb.h to fs/fcb.h
move fcb.h to fs/fcb.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
656f4dfdac
commit
d918c98e1d
12 changed files with 160 additions and 145 deletions
|
@ -8,7 +8,7 @@
|
|||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "fcb.h"
|
||||
#include <fs/fcb.h>
|
||||
#include "fcb_priv.h"
|
||||
#include "string.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "fcb.h"
|
||||
#include <fs/fcb.h>
|
||||
#include "fcb_priv.h"
|
||||
|
||||
static struct flash_sector *
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <crc.h>
|
||||
|
||||
#include "fcb.h"
|
||||
#include <fs/fcb.h>
|
||||
#include "fcb_priv.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "fcb.h"
|
||||
#include <fs/fcb.h>
|
||||
#include "fcb_priv.h"
|
||||
|
||||
int
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "fcb.h"
|
||||
#include <fs/fcb.h>
|
||||
#include "fcb_priv.h"
|
||||
|
||||
int
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "fcb.h"
|
||||
#include <fs/fcb.h>
|
||||
#include "fcb_priv.h"
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue