From: Mark Wooding Date: Tue, 12 Sep 2017 23:36:33 +0000 (+0100) Subject: server/addrmap.c: Mark internal functions as actually `static'. X-Git-Tag: 1.5.0~107 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/a44897e55ec3c1fe36297467b6b19e19ba752f24 server/addrmap.c: Mark internal functions as actually `static'. Must have been like this forever, since this is the first change this file has seen since it was created. --- 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);