mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
net: Remove protocol argument from si_setup callback
since the implementor could get the same value from socket::s_proto Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -142,7 +142,7 @@ struct pollfd; /* Forward reference */
|
||||
|
||||
struct sock_intf_s
|
||||
{
|
||||
CODE int (*si_setup)(FAR struct socket *psock, int protocol);
|
||||
CODE int (*si_setup)(FAR struct socket *psock);
|
||||
CODE sockcaps_t (*si_sockcaps)(FAR struct socket *psock);
|
||||
CODE void (*si_addref)(FAR struct socket *psock);
|
||||
CODE int (*si_bind)(FAR struct socket *psock,
|
||||
|
||||
Reference in New Issue
Block a user