chiark / gitweb /
server/keymgmt.c: Track and find keys by their 32-bit IDs.
[tripe] / server / addrmap.c
index e1a9b0f48a3cd2065f57a5f5a62e8749b36b87c8..140d0b6ea0a324e1d724a532613a6f8fdc38bcb1 100644 (file)
@@ -72,7 +72,7 @@ void am_destroy(addrmap *m)
  * Returns:    The hash of the address.
  */
 
-uint32 hash(const addr *a)
+static uint32 hash(const addr *a)
 {
   switch (a->sa.sa_family) {
     case AF_INET:
@@ -91,7 +91,7 @@ uint32 hash(const addr *a)
  * Returns:    Nonzero if the addresses are equal.
  */
 
-int addreq(const addr *a, const addr *b)
+static int addreq(const addr *a, const addr *b)
 {
   if (a->sa.sa_family != b->sa.sa_family)
     return (0);