]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
compiler
authorwessels <>
Thu, 6 Nov 1997 02:52:22 +0000 (02:52 +0000)
committerwessels <>
Thu, 6 Nov 1997 02:52:22 +0000 (02:52 +0000)
src/client_side.cc
src/icmp.cc

index a4b2136e767780c1e78c15f0ad0bc126093df292..5a5f40f0e3f721de3aa327a4211213396d64deee 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.141 1997/11/05 05:29:20 wessels Exp $
+ * $Id: client_side.cc,v 1.142 1997/11/05 19:52:22 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -748,7 +748,7 @@ clientBuildReplyHeader(clientHttpRequest * http,
     return len;
 }
 
-void
+static void
 clientCacheHit(void *data, char *buf, ssize_t size)
 {
     clientHttpRequest *http = data;
@@ -763,7 +763,7 @@ clientCacheHit(void *data, char *buf, ssize_t size)
     }
 }
 
-void
+static void
 clientSendMoreData(void *data, char *buf, ssize_t size)
 {
     clientHttpRequest *http = data;
@@ -1029,7 +1029,7 @@ icpHandleIMSComplete(int fd, char *bufnotused, int size, int errflag, void *data
  * Below, we check whether the object is a hit or a miss.  If it's a hit,
  * we check whether the object is still valid or whether it is a MISS_TTL.
  */
-void
+static void
 icpProcessRequest(int fd, clientHttpRequest * http)
 {
     char *url = http->url;
index 815e44af18f7833e685c43d1c7d8e77b639d3a6e..7b9d0f78998bd5daee4e8bd103019f686fec69ce 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: icmp.cc,v 1.47 1997/11/03 22:43:13 wessels Exp $
+ * $Id: icmp.cc,v 1.48 1997/11/05 19:52:22 wessels Exp $
  *
  * DEBUG: section 37    ICMP Routines
  * AUTHOR: Duane Wessels
@@ -181,13 +181,7 @@ icmpHandleSourcePing(const struct sockaddr_in *from, const char *buf)
     if (entry->lock_count == 0)
        return;
     /* call neighborsUdpAck even if ping_status != PING_WAITING */
-    neighborsUdpAck(icmp_sock,
-       url,
-       &header,
-       from,
-       entry,
-       NULL,
-       0);
+    neighborsUdpAck(url, &header, from, entry);
 }
 #endif /* USE_ICMP */