summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-04-30 13:42:57 +0200
committerGitHub <[email protected]>2024-04-30 13:42:57 +0200
commit40319ccf9de0e2981b1714c2925ca7657aecec7b (patch)
tree92593ca23a3dbf138b9f328d1e4482f06438982d /lib
parent1c04d5992a020aefe16ffb2acce62d84d4899395 (diff)
parent56dbfe59d93975a6256f5bb00da68919b28e07cb (diff)
Merge pull request #2615 from maflcko/patch-1
Update dnserver.c: Match dnserv_free signature with fwd-decl
Diffstat (limited to 'lib')
-rw-r--r--lib/networking/dnserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/networking/dnserver.c b/lib/networking/dnserver.c
index 6d15fee02..25bbf4875 100644
--- a/lib/networking/dnserver.c
+++ b/lib/networking/dnserver.c
@@ -192,7 +192,7 @@ err_t dnserv_init(const ip_addr_t *bind, uint16_t port, dns_query_proc_t qp)
return ERR_OK;
}
-void dnserv_free()
+void dnserv_free(void)
{
if (pcb == NULL) return;
udp_remove(pcb);