net/socket: For consistency in naming, change the name of sock_release() to psock_release().

This commit is contained in:
Gregory Nutt
2018-11-27 07:50:09 -06:00
parent b8cc5ef757
commit 6941f916ce
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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);
}
}