libs/libc/netdb: Remove another use of the restrict keyword.
This commit is contained in:
parent
c213bac2c4
commit
fd4398142c
|
@ -112,10 +112,8 @@ FAR static struct ai_s *alloc_ai(int family, int port, FAR void *addr)
|
|||
* Name: getaddrinfo
|
||||
****************************************************************************/
|
||||
|
||||
int getaddrinfo(FAR const char *restrict hostname,
|
||||
FAR const char *restrict servname,
|
||||
FAR const struct addrinfo *restrict hint,
|
||||
FAR struct addrinfo **restrict res)
|
||||
int getaddrinfo(FAR const char *hostname, FAR const char *servname,
|
||||
FAR const struct addrinfo *hint, FAR struct addrinfo **res)
|
||||
{
|
||||
int family = AF_UNSPEC;
|
||||
int port = 0;
|
||||
|
@ -308,4 +306,3 @@ int getaddrinfo(FAR const char *restrict hostname,
|
|||
|
||||
return EAI_AGAIN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue