aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/nl.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-08-02 21:51:41 -0500
committerRob Landley <rob@landley.net>2015-08-02 21:51:41 -0500
commit7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f (patch)
tree3c74019a20c6d23f18409ef026727b3195d3b6ee /toys/posix/nl.c
parent3aa1d18b727ded4415d8a5f34f90a0726213aa7f (diff)
downloadtoybox-7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f.tar.gz
Mark command-local functions static.
Diffstat (limited to 'toys/posix/nl.c')
-rw-r--r--toys/posix/nl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/nl.c b/toys/posix/nl.c
index c7e7b92c..60c0a52e 100644
--- a/toys/posix/nl.c
+++ b/toys/posix/nl.c
@@ -40,7 +40,7 @@ GLOBALS(
long lcount;
)
-void do_nl(int fd, char *name)
+static void do_nl(int fd, char *name)
{
FILE *f = xfdopen(fd, "r");
int w = TT.w, slen = strlen(TT.s);