diff options
Diffstat (limited to 'toys/net')
-rw-r--r-- | toys/net/ftpget.c | 2 | ||||
-rw-r--r-- | toys/net/ifconfig.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toys/net/ftpget.c b/toys/net/ftpget.c index 6ead05ef..94e5caed 100644 --- a/toys/net/ftpget.c +++ b/toys/net/ftpget.c @@ -54,7 +54,7 @@ GLOBALS( ) // we should get one line of data, but it may be in multiple chunks -int xread2line(int fd, char *buf, int len) +static int xread2line(int fd, char *buf, int len) { int i, total = 0; 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; |