diff options
author | Rob Landley <rob@landley.net> | 2021-02-07 17:19:44 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-02-07 17:19:44 -0600 |
commit | 664c417af5d16e217557468ba747a369e8e1ab6b (patch) | |
tree | 028aacc085207ef347fdaa9eb1ccf86d06257208 /toys/posix/logger.c | |
parent | 9f7f62615f3963591af33fcc7582867f7063efd2 (diff) | |
download | toybox-664c417af5d16e217557468ba747a369e8e1ab6b.tar.gz |
Add lots of "static" annotations, make a couple things use FLAG() macros, etc.
Diffstat (limited to 'toys/posix/logger.c')
-rw-r--r-- | toys/posix/logger.c | 3 |
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; |