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:
Anas Nashif 2019-06-25 12:09:24 -04:00
commit d918c98e1d
12 changed files with 160 additions and 145 deletions

View file

@ -8,7 +8,7 @@
#include <limits.h>
#include <stdlib.h>
#include "fcb.h"
#include <fs/fcb.h>
#include "fcb_priv.h"
#include "string.h"

View file

@ -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 *

View file

@ -7,7 +7,7 @@
#include <crc.h>
#include "fcb.h"
#include <fs/fcb.h>
#include "fcb_priv.h"
/*

View file

@ -7,7 +7,7 @@
#include <stddef.h>
#include "fcb.h"
#include <fs/fcb.h>
#include "fcb_priv.h"
int

View file

@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "fcb.h"
#include <fs/fcb.h>
#include "fcb_priv.h"
int

View file

@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "fcb.h"
#include <fs/fcb.h>
#include "fcb_priv.h"
/*