aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-07-12 15:51:23 -0700
committerRob Landley <rob@landley.net>2019-07-13 01:49:00 -0500
commit29783d134eb579c158a8a2b331e7b9abe626663a (patch)
treea2056904c0bda88d1e907f8ddeeebc55c476431d
parent36b1b7d1f8921e948b58a1c3fb709c1234ff90c7 (diff)
downloadtoybox-29783d134eb579c158a8a2b331e7b9abe626663a.tar.gz
net.c: add missing static.
Pointed out during code review of the recent refactor.
-rw-r--r--lib/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net.c b/lib/net.c
index be69c9a3..02354444 100644
--- a/lib/net.c
+++ b/lib/net.c
@@ -37,7 +37,7 @@ struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype,
return ai;
}
-int xconnbind(struct addrinfo *ai_arg, int dobind)
+static int xconnbind(struct addrinfo *ai_arg, int dobind)
{
struct addrinfo *ai;
int fd = -1, one = 1;