aboutsummaryrefslogtreecommitdiff
path: root/toys/net/ftpget.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-01-27 15:55:28 -0800
committerRob Landley <rob@landley.net>2017-01-28 17:41:16 -0600
commit70f7f10476311288049565573338a4a821cef8a5 (patch)
tree35c53bf0effb587ca67e3f21ab63ccb9c62797aa /toys/net/ftpget.c
parent8ceb2dec8b7233385c1b2983c907592c46a48bd8 (diff)
downloadtoybox-70f7f10476311288049565573338a4a821cef8a5.tar.gz
Add missing `static`s and remove an unused function.
Diffstat (limited to 'toys/net/ftpget.c')
-rw-r--r--toys/net/ftpget.c2
1 files changed, 1 insertions, 1 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;