Fix a bad function prototype introduced in a previous commit

This commit is contained in:
Gregory Nutt 2015-07-12 13:42:28 -06:00
parent 80c07ae3e0
commit 7e43ffa602
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ int netlib_ifdown(FAR const char *ifname);
#if defined(CONFIG_NET_IPv4) && defined(CONFIG_NETDB_DNSCLIENT) #if defined(CONFIG_NET_IPv4) && defined(CONFIG_NETDB_DNSCLIENT)
int netlib_set_ipv4dnsaddr(FAR const struct in_addr *inaddr); int netlib_set_ipv4dnsaddr(FAR const struct in_addr *inaddr);
int netlib_get_ipv4addr(FAR struct in_addr *inaddr); int netlib_get_ipv4dnsaddr(FAR struct in_addr *inaddr);
#endif #endif
#undef EXTERN #undef EXTERN

View File

@ -58,10 +58,10 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* Name: netlib_get_ipv4addr * Name: netlib_get_ipv4dnsaddr
* *
* Description: * Description:
* Get the DNS server IPv4address * Get the DNS server IPv4 address
* *
* Parameters: * Parameters:
* ipaddr The location to return the IPv4 address * ipaddr The location to return the IPv4 address