cleanup: include/: move fs.h to fs/fs.h
move fs.h to fs/fs.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
52b3d2b671
commit
656f4dfdac
59 changed files with 556 additions and 541 deletions
|
@ -14,7 +14,7 @@ extern "C" {
|
|||
#include "posix_types.h"
|
||||
|
||||
#ifdef CONFIG_POSIX_FS
|
||||
#include <fs.h>
|
||||
#include <fs/fs.h>
|
||||
|
||||
typedef void DIR;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_POSIX_API
|
||||
#include <fs.h>
|
||||
#include <fs/fs.h>
|
||||
|
||||
/* File related operations */
|
||||
extern int open(const char *name, int flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue