]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
comm_init should return void
authorwessels <>
Fri, 29 May 1998 03:53:41 +0000 (03:53 +0000)
committerwessels <>
Fri, 29 May 1998 03:53:41 +0000 (03:53 +0000)
src/comm.cc
src/protos.h

index 4d8c8757ddd555e61128014b6ef85baff2e8825f..5481ce8f2a3d3b52d92e204b7c9289c9400e2e46 100644 (file)
@@ -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;
 }
 
 
index 204c4d7cf7db3aed8f2efacd13c98a5cf8d0bd15..1ece486795f7765b931263c1b0afee2ef802bdd3 100644 (file)
@@ -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);