mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-22 03:40:48 +00:00
DNS, warning fix, dns_init() -> dns_init(void)
lwip/src/core/dns.c: In function ‘dns_init’: lwip/src/core/dns.c:336:1: warning: old-style function definition [-Wold-style-definition] dns_init()
This commit is contained in:
parent
b3218d45f3
commit
dbf9d0f094
@ -333,7 +333,7 @@ dns_stricmp(const char* str1, const char* str2)
|
||||
* (DNS_SERVER_ADDRESS).
|
||||
*/
|
||||
void
|
||||
dns_init()
|
||||
dns_init(void)
|
||||
{
|
||||
ip_addr_t dnsserver;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user