summaryrefslogtreecommitdiff
path: root/lib/networking
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-10-30 19:36:05 +0100
committerHiFiPhile <[email protected]>2024-10-30 19:47:03 +0100
commit85ff529a310b7e6ec2e4234e3e292fef6432882b (patch)
tree41218fce4db7c23df1073dfdd42fb017c3cf0158 /lib/networking
parent418b8b2f133d695362c735f271c966af10b5d251 (diff)
parent8b1e40c3e2447de5b4a86bbcdcc0344946a4793d (diff)
Merge branch 'master' into dcd_notif
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'lib/networking')
-rw-r--r--lib/networking/dhserver.h2
-rw-r--r--lib/networking/dnserver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/networking/dhserver.h b/lib/networking/dhserver.h
index b0d57ac4e..6a443b220 100644
--- a/lib/networking/dhserver.h
+++ b/lib/networking/dhserver.h
@@ -59,7 +59,7 @@ typedef struct dhcp_config
#ifdef __cplusplus
extern "C" {
#endif
-err_t dhserv_init(const dhcp_config_t *config);
+err_t dhserv_init(const dhcp_config_t *c);
void dhserv_free(void);
#ifdef __cplusplus
}
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);