summaryrefslogtreecommitdiff
path: root/src/sock.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sock.h b/src/sock.h
index 5eac10b..5ed7e35 100644
--- a/src/sock.h
+++ b/src/sock.h
@@ -29,7 +29,7 @@
#define MAXLINE (1024 * 4)
extern int opensock (const char *host, int port, const char *bind_to);
-extern int listen_sock (uint16_t port, socklen_t * addrlen);
+extern int listen_sock (uint16_t port);
extern int socket_nonblocking (int sock);
extern int socket_blocking (int sock);