]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleaned up the namespace (local functions made static)
authorhno <>
Thu, 8 Feb 2001 02:04:04 +0000 (02:04 +0000)
committerhno <>
Thu, 8 Feb 2001 02:04:04 +0000 (02:04 +0000)
include/radix.h
lib/radix.c
src/asn.cc
src/urn.cc

index 07ac0c1191d5b7a6a874be12bd0af51deac63576..5101e8c08092a1ab7984b6f0246487b67e60c9de 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: radix.h,v 1.8 2001/01/07 09:55:21 hno Exp $
+ * $Id: radix.h,v 1.9 2001/02/07 19:04:04 hno Exp $
  */
 
 /*
@@ -153,6 +153,6 @@ struct radix_node
        struct radix_node[2])), *rn_match __P((void *, struct radix_node_head *)),
           *rn_newpair __P((void *, int, struct radix_node[2])), *rn_search __P((void *, struct radix_node *)),
           *rn_search_m __P((void *, struct radix_node *, void *));
-
+extern struct radix_node *rn_lookup(void *, void *, struct radix_node_head *);
 #define min(x,y) ((x)<(y)? (x) : (y))
 #endif /* _RADIX_H_ */
index e07110701456048b9901d35331efc63cfeef1457..ec7c692fde2a4ef4fdee71cd0db0811c33fad9c6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: radix.c,v 1.12 2001/02/07 18:56:50 hno Exp $
+ * $Id: radix.c,v 1.13 2001/02/07 19:04:08 hno Exp $
  *
  * DEBUG: section 53     Radix tree data structure implementation
  * AUTHOR: NetBSD Derived
@@ -221,7 +221,7 @@ rn_refines(m_arg, n_arg)
     return (!masks_are_equal);
 }
 
-static struct radix_node *
+struct radix_node *
 rn_lookup(v_arg, m_arg, head)
      void *v_arg, *m_arg;
      struct radix_node_head *head;
index 69380c9541e5e0c7bf2f5f3bdd53cd64726c5bbb..cbe98e318b990f82096196e7f920ef639b32768d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: asn.cc,v 1.69 2001/02/07 18:56:51 hno Exp $
+ * $Id: asn.cc,v 1.70 2001/02/07 19:04:08 hno Exp $
  *
  * DEBUG: section 53    AS Number handling
  * AUTHOR: Duane Wessels, Kostas Anagnostakis
@@ -93,9 +93,6 @@ static void asStateFree(void *data);
 static void destroyRadixNodeInfo(as_info *);
 static OBJH asnStats;
 
-extern struct radix_node *rn_lookup(void *, void *, void *);
-
-
 /* PUBLIC */
 
 int
index a0f0a7fed16ae1eec20776ed1b8c3527525164f7..c8117eca00091fa100f144808b54165d2dad5b98 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: urn.cc,v 1.64 2001/01/12 00:37:23 wessels Exp $
+ * $Id: urn.cc,v 1.65 2001/02/07 19:04:09 hno Exp $
  *
  * DEBUG: section 52    URN Parsing
  * AUTHOR: Kostas Anagnostakis
@@ -60,7 +60,7 @@ static url_entry *urnParseReply(const char *inbuf, method_t);
 static const char *const crlf = "\r\n";
 static QS url_entry_sort;
 
-url_entry *
+static url_entry *
 urnFindMinRtt(url_entry * urls, method_t m, int *rtt_ret)
 {
     int min_rtt = 0;