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:
Anas Nashif 2019-06-26 10:33:43 -04:00
commit 8be9f5de03
9 changed files with 164 additions and 149 deletions

View file

@ -17,7 +17,7 @@ LOG_MODULE_REGISTER(net_sock_can, CONFIG_NET_SOCKETS_LOG_LEVEL);
#include <net/net_pkt.h>
#include <net/socket.h>
#include <syscall_handler.h>
#include <misc/fdtable.h>
#include <sys/fdtable.h>
#include <net/socket_can.h>
#include "sockets_internal.h"