net/socket: For consistency in naming, change the name of sock_release() to psock_release().
This commit is contained in:
parent
b8cc5ef757
commit
6941f916ce
@ -146,7 +146,7 @@ int net_clone(FAR struct socket *psock1, FAR struct socket *psock2)
|
||||
* the connection.
|
||||
*/
|
||||
|
||||
sock_release(psock2);
|
||||
psock_release(psock2);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -110,7 +110,7 @@ int psock_close(FAR struct socket *psock)
|
||||
|
||||
/* Then release our reference on the socket structure containing the connection */
|
||||
|
||||
sock_release(psock);
|
||||
psock_release(psock);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -190,7 +190,7 @@ int sockfd_allocate(int minsd)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: sock_release
|
||||
* Name: psock_release
|
||||
*
|
||||
* Description:
|
||||
* Free a socket.
|
||||
@ -203,7 +203,7 @@ int sockfd_allocate(int minsd)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void sock_release(FAR struct socket *psock)
|
||||
void psock_release(FAR struct socket *psock)
|
||||
{
|
||||
if (psock != NULL)
|
||||
{
|
||||
@ -259,7 +259,7 @@ void sockfd_release(int sockfd)
|
||||
|
||||
if (psock)
|
||||
{
|
||||
sock_release(psock);
|
||||
psock_release(psock);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -166,7 +166,7 @@ extern "C"
|
||||
int sockfd_allocate(int minsd);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: sock_release
|
||||
* Name: psock_release
|
||||
*
|
||||
* Description:
|
||||
* Free a socket.
|
||||
@ -179,7 +179,7 @@ int sockfd_allocate(int minsd);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void sock_release(FAR struct socket *psock);
|
||||
void psock_release(FAR struct socket *psock);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: sockfd_release
|
||||
|
Loading…
Reference in New Issue
Block a user