Skip to content
Snippets Groups Projects
Commit d88dc9b2 authored by Simon Piriou's avatar Simon Piriou Committed by Gregory Nutt
Browse files

net_pkt: fix typo and symbol collision

parent 2e7961cc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment