aboutsummaryrefslogtreecommitdiff
path: root/lwip
diff options
context:
space:
mode:
Diffstat (limited to 'lwip')
-rw-r--r--lwip/lwip-util.c4
-rw-r--r--lwip/port/netif/hurdethif.c2
-rw-r--r--lwip/port/netif/hurdtunif.c2
-rw-r--r--lwip/startup.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/lwip/lwip-util.c b/lwip/lwip-util.c
index 61f3194a..fc4cb137 100644
--- a/lwip/lwip-util.c
+++ b/lwip/lwip-util.c
@@ -101,7 +101,7 @@ ipv4config_is_valid (uint32_t addr, uint32_t netmask,
/* Configure the loopback interface */
static void
-init_loopback ()
+init_loopback (void)
{
struct ifcommon ifc;
@@ -114,7 +114,7 @@ init_loopback ()
/* Remove the existing interfaces, but the loopback one */
void
-remove_ifs ()
+remove_ifs (void)
{
struct netif *netif;
diff --git a/lwip/port/netif/hurdethif.c b/lwip/port/netif/hurdethif.c
index ec899e40..68d7680b 100644
--- a/lwip/port/netif/hurdethif.c
+++ b/lwip/port/netif/hurdethif.c
@@ -556,7 +556,7 @@ hurdethif_input_thread (void *arg)
* This function should be called once.
*/
error_t
-hurdethif_module_init ()
+hurdethif_module_init (void)
{
error_t err;
etherport_bucket = ports_create_bucket ();
diff --git a/lwip/port/netif/hurdtunif.c b/lwip/port/netif/hurdtunif.c
index c976703f..da4d5cbe 100644
--- a/lwip/port/netif/hurdtunif.c
+++ b/lwip/port/netif/hurdtunif.c
@@ -278,7 +278,7 @@ hurdtunif_device_init (struct netif *netif)
* This function should be called once.
*/
error_t
-hurdtunif_module_init ()
+hurdtunif_module_init (void)
{
error_t err = 0;
diff --git a/lwip/startup.c b/lwip/startup.c
index 125a49e3..b5d9f763 100644
--- a/lwip/startup.c
+++ b/lwip/startup.c
@@ -38,7 +38,7 @@ sigterm_handler (int signo)
}
void
-arrange_shutdown_notification ()
+arrange_shutdown_notification (void)
{
error_t err;
mach_port_t initport, notify;