diff options
Diffstat (limited to 'pflocal')
-rw-r--r-- | pflocal/sock.c | 4 | ||||
-rw-r--r-- | pflocal/sserver.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pflocal/sock.c b/pflocal/sock.c index 174494cd..3daf8282 100644 --- a/pflocal/sock.c +++ b/pflocal/sock.c @@ -500,7 +500,7 @@ sock_shutdown (struct sock *sock, unsigned flags) /* ---------------------------------------------------------------- */ error_t -sock_global_init () +sock_global_init (void) { sock_port_bucket = ports_create_bucket (); sock_user_port_class = ports_create_class (sock_user_clean, NULL); @@ -510,7 +510,7 @@ sock_global_init () /* Try to shutdown any active sockets, returning EBUSY if we can't. */ error_t -sock_global_shutdown () +sock_global_shutdown (void) { int num_ports = ports_count_bucket (sock_port_bucket); ports_enable_bucket (sock_port_bucket); diff --git a/pflocal/sserver.c b/pflocal/sserver.c index e500a75f..55d2d188 100644 --- a/pflocal/sserver.c +++ b/pflocal/sserver.c @@ -83,7 +83,7 @@ handle_sock_requests (void *unused) port(s) which need server, as the server routine only operates while there are any ports. */ void -ensure_sock_server () +ensure_sock_server (void) { pthread_t thread; error_t err; |