cleanup: include/: move misc/fdtable.h to sys/fdtable.h
move misc/fdtable.h to sys/fdtable.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
896b8d3c50
commit
8be9f5de03
9 changed files with 164 additions and 149 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <posix/unistd.h>
|
||||
#include <posix/dirent.h>
|
||||
#include <string.h>
|
||||
#include <misc/fdtable.h>
|
||||
#include <sys/fdtable.h>
|
||||
|
||||
BUILD_ASSERT_MSG(PATH_MAX >= MAX_FILE_NAME,
|
||||
"PATH_MAX is less than MAX_FILE_NAME");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue