libs/libc/netdb: Remove another use of the restrict keyword.

This commit is contained in:
Gregory Nutt 2018-06-12 21:42:59 -06:00
parent c213bac2c4
commit fd4398142c
1 changed files with 5 additions and 8 deletions

View File

@ -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;
}