chiark
/
gitweb
/
~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d5eac3
)
server/addrmap.c: Mark internal functions as actually `static'.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 12 Sep 2017 23:36:33 +0000
(
00:36
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000
(10:34 +0100)
Must have been like this forever, since this is the first change this
file has seen since it was created.
server/addrmap.c
patch
|
blob
|
blame
|
history
diff --git
a/server/addrmap.c
b/server/addrmap.c
index e1a9b0f48a3cd2065f57a5f5a62e8749b36b87c8..140d0b6ea0a324e1d724a532613a6f8fdc38bcb1 100644
(file)
--- 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);