net_pkt: fix typo and symbol collision
This commit is contained in:
parent
2e7961cc55
commit
d88dc9b2e5
@ -614,7 +614,7 @@ static int local_poll(FAR struct socket *psock, FAR struct pollfd *fds,
|
||||
{
|
||||
/* Perform the TCP/IP poll() teardown */
|
||||
|
||||
return loal_pollteardown(psock, fds);
|
||||
return local_pollteardown(psock, fds);
|
||||
}
|
||||
#endif /* HAVE_LOCAL_POLL */
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ static int pkt_connect(FAR struct socket *psock,
|
||||
static int pkt_accept(FAR struct socket *psock, FAR struct sockaddr *addr,
|
||||
FAR socklen_t *addrlen, FAR struct socket *newsock);
|
||||
#ifndef CONFIG_DISABLE_POLL
|
||||
static int pkt_poll(FAR struct socket *psock,
|
||||
static int pkt_poll_local(FAR struct socket *psock,
|
||||
FAR struct pollfd *fds, bool setup);
|
||||
#endif
|
||||
static ssize_t pkt_send(FAR struct socket *psock, FAR const void *buf,
|
||||
@ -97,7 +97,7 @@ const struct sock_intf_s g_pkt_sockif =
|
||||
pkt_connect, /* si_connect */
|
||||
pkt_accept, /* si_accept */
|
||||
#ifndef CONFIG_DISABLE_POLL
|
||||
pkt_poll, /* si_poll */
|
||||
pkt_poll_local, /* si_poll */
|
||||
#endif
|
||||
pkt_send, /* si_send */
|
||||
pkt_sendto, /* si_sendto */
|
||||
@ -475,8 +475,8 @@ int pkt_listen(FAR struct socket *psock, int backlog)
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_DISABLE_POLL
|
||||
static int pkt_poll(FAR struct socket *psock, FAR struct pollfd *fds,
|
||||
bool setup)
|
||||
static int pkt_poll_local(FAR struct socket *psock, FAR struct pollfd *fds,
|
||||
bool setup)
|
||||
{
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user