From: wessels <> Date: Fri, 29 May 1998 03:53:41 +0000 (+0000) Subject: comm_init should return void X-Git-Tag: SQUID_3_0_PRE1~3217 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d86b3703e04d7ffe5994db20d0ae6adf0420775a;p=thirdparty%2Fsquid.git comm_init should return void --- diff --git a/src/comm.cc b/src/comm.cc index 4d8c8757dd..5481ce8f2a 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,7 +1,7 @@ /* - * $Id: comm.cc,v 1.263 1998/05/28 21:50:17 wessels Exp $ + * $Id: comm.cc,v 1.264 1998/05/28 21:53:42 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1320,7 +1320,7 @@ commSetTcpNoDelay(int fd) } #endif -int +void comm_init(void) { fd_table = xcalloc(Squid_MaxFD, sizeof(fde)); @@ -1331,7 +1331,6 @@ comm_init(void) RESERVED_FD = XMIN(100, Squid_MaxFD / 4); zero_tv.tv_sec = 0; zero_tv.tv_usec = 0; - return 0; } diff --git a/src/protos.h b/src/protos.h index 204c4d7cf7..1ece486795 100644 --- a/src/protos.h +++ b/src/protos.h @@ -100,7 +100,7 @@ extern void comm_lingering_close(int fd); #endif extern void commConnectStart(int fd, const char *, u_short, CNCB *, void *); extern int comm_connect_addr(int sock, const struct sockaddr_in *); -extern int comm_init(void); +extern void comm_init(void); extern int comm_listen(int sock); extern int comm_open(int, int, struct in_addr, u_short port, int, const char *note); extern u_short comm_local_port(int fd);