]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
neighborType() needs to be global
authorwessels <>
Tue, 29 Sep 1998 07:32:58 +0000 (07:32 +0000)
committerwessels <>
Tue, 29 Sep 1998 07:32:58 +0000 (07:32 +0000)
src/disk.cc
src/neighbors.cc
src/protos.h

index 4a3c818b65f9cd250d292d181ed6f582ab4bb731..bf66c63f6a42f1e66e09aaba433bb5079188e213 100644 (file)
@@ -1,7 +1,7 @@
 
 
 /*
- * $Id: disk.cc,v 1.135 1998/09/23 15:36:49 wessels Exp $
+ * $Id: disk.cc,v 1.136 1998/09/29 01:32:58 wessels Exp $
  *
  * DEBUG: section 6     Disk I/O Routines
  * AUTHOR: Harvest Derived
@@ -94,7 +94,7 @@ static void
 fileOpenComplete(int unused, void *data, int fd, int errcode)
 {
     open_ctrl_t *ctrlp = (open_ctrl_t *) data;
-    debug(6, 5) ("fileOpenComplete: fd %d, data %p, errcode %d\n",
+    debug(6, 5) ("fileOpenComplete: FD %d, data %p, errcode %d\n",
        fd, data, errcode);
     Counter.syscalls.disk.opens++;
     if (fd == -2 && errcode == -2) {   /* Cancelled - clean up */
index fc4d05ad6d13ff2903c4bf1a8dec6ccca0fdbaa2..9e1340693bbe20e1caaac8161477b438dfe64a2e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: neighbors.cc,v 1.254 1998/09/25 05:35:31 wessels Exp $
+ * $Id: neighbors.cc,v 1.255 1998/09/29 01:32:59 wessels Exp $
  *
  * DEBUG: section 15    Neighbor Routines
  * AUTHOR: Harvest Derived
@@ -97,7 +97,7 @@ whichPeer(const struct sockaddr_in * from)
     return NULL;
 }
 
-static peer_t
+peer_t
 neighborType(const peer * p, const request_t * request)
 {
     const struct _domain_type *d = NULL;
index 186e4bdcd5fdad36533a8420949714e5ba0cd6f9..e01d322d09d935fd0e23cf7f70534818c092a0a1 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: protos.h,v 1.272 1998/09/24 20:42:09 rousskov Exp $
+ * $Id: protos.h,v 1.273 1998/09/29 01:33:00 wessels Exp $
  *
  *
  * SQUID Internet Object Cache  http://squid.nlanr.net/Squid/
@@ -583,6 +583,7 @@ extern void peerNoteDigestLookup(request_t * request, peer * p, lookup_t lookup)
 extern int neighborUp(const peer * e);
 extern void peerDestroy(peer * e);
 extern char *neighborTypeStr(const peer * e);
+extern peer_t neighborType(const peer *, const request_t *);
 extern void peerCheckConnectStart(peer *);
 extern void dump_peer_options(StoreEntry *, peer *);
 extern int peerHTTPOkay(const peer *, request_t *);