aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/logger.c')
-rw-r--r--toys/posix/logger.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/posix/logger.c b/toys/posix/logger.c
index fae3fddb..906d64f4 100644
--- a/toys/posix/logger.c
+++ b/toys/posix/logger.c
@@ -30,7 +30,8 @@ GLOBALS(
// find str in names[], accepting unambiguous short matches
// returns offset into array of match, or -1 if no match
-int arrayfind(char *str, char *names[], int len)
+// TODO: move to lib?
+static int arrayfind(char *str, char *names[], int len)
{
int j, i, ll = 0, maybe = -1;