aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cmp.c
diff options
context:
space:
mode:
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;