aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cmp.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/cmp.c
parent3aa1d18b727ded4415d8a5f34f90a0726213aa7f (diff)
downloadtoybox-7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f.tar.gz
Mark command-local functions static.
Diffstat (limited to 'toys/posix/cmp.c')
-rw-r--r--toys/posix/cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/cmp.c b/toys/posix/cmp.c
index 2dae1138..829da75c 100644
--- a/toys/posix/cmp.c
+++ b/toys/posix/cmp.c
@@ -28,7 +28,7 @@ GLOBALS(
// This handles opening the file and
-void do_cmp(int fd, char *name)
+static void do_cmp(int fd, char *name)
{
int i, len1, len2, min_len, size = sizeof(toybuf)/2;
long byte_no = 1, line_no = 1;