aboutsummaryrefslogtreecommitdiff
path: root/toys/net/ifconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/net/ifconfig.c')
-rw-r--r--toys/net/ifconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/net/ifconfig.c b/toys/net/ifconfig.c
index 174369fe..fe58b653 100644
--- a/toys/net/ifconfig.c
+++ b/toys/net/ifconfig.c
@@ -58,7 +58,7 @@ GLOBALS(
// Convert hostname to binary address for AF_INET or AF_INET6
// return /prefix (or range max if none)
-int get_addrinfo(char *host, sa_family_t af, void *addr)
+static int get_addrinfo(char *host, sa_family_t af, void *addr)
{
struct addrinfo hints, *result, *rp = 0;
int status, len;