From a44897e55ec3c1fe36297467b6b19e19ba752f24 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Wed, 13 Sep 2017 00:36:33 +0100 Subject: [PATCH] server/addrmap.c: Mark internal functions as actually `static'. Organization: Straylight/Edgeware From: Mark Wooding Must have been like this forever, since this is the first change this file has seen since it was created. --- server/addrmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/addrmap.c b/server/addrmap.c index e1a9b0f4..140d0b6e 100644 --- a/server/addrmap.c +++ b/server/addrmap.c @@ -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); -- [mdw]