From: wessels <> Date: Fri, 10 Apr 1998 03:31:36 +0000 (+0000) Subject: commSetConnectTimeout is UNUSED X-Git-Tag: SQUID_3_0_PRE1~3525 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71288a5e44292d52796c78183058bdd8893bf417;p=thirdparty%2Fsquid.git commSetConnectTimeout is UNUSED --- diff --git a/src/comm.cc b/src/comm.cc index 80225f77b6..38bea04aa2 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,7 +1,7 @@ /* - * $Id: comm.cc,v 1.250 1998/04/09 20:52:51 wessels Exp $ + * $Id: comm.cc,v 1.251 1998/04/09 21:31:36 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -154,10 +154,10 @@ static void commConnectCallback(ConnectStateData * cs, int status); static int commDeferRead(int fd); #if UNUSED_CODE static void commSetConnectTimeout(int fd, time_t timeout); +static time_t commBackoffTimeout(int); #endif static int commResetFD(ConnectStateData * cs); static int commRetryConnect(ConnectStateData * cs); -static time_t commBackoffTimeout(int); static struct timeval zero_tv; @@ -427,6 +427,7 @@ commRetryConnect(ConnectStateData * cs) return commResetFD(cs); } +#if UNUSED_CODE /* Back off the socket timeout if there are several addresses available */ static time_t commBackoffTimeout(int numaddrs) @@ -440,6 +441,7 @@ commBackoffTimeout(int numaddrs) } return timeout; } +#endif /* Connect SOCK to specified DEST_PORT at DEST_HOST. */ static void