[net][sal] Remove DFS dependencies in the SAL

This commit is contained in:
chenyong
2018-08-27 19:50:37 +08:00
parent 2d894b4102
commit 6d702e579f
8 changed files with 66 additions and 22 deletions
@@ -705,6 +705,7 @@ int sal_ioctlsocket(int socket, long cmd, void *arg)
return sock->ops->ioctlsocket((int) sock->user_data, cmd, arg);
}
#ifdef SAL_USING_POSIX
int sal_poll(struct dfs_fd *file, struct rt_pollreq *req)
{
struct sal_socket *sock;
@@ -723,6 +724,7 @@ int sal_poll(struct dfs_fd *file, struct rt_pollreq *req)
return sock->ops->poll(file, req);
}
#endif
struct hostent *sal_gethostbyname(const char *name)
{