aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-02-07 17:19:44 -0600
committerRob Landley <rob@landley.net>2021-02-07 17:19:44 -0600
commit664c417af5d16e217557468ba747a369e8e1ab6b (patch)
tree028aacc085207ef347fdaa9eb1ccf86d06257208 /lib/args.c
parent9f7f62615f3963591af33fcc7582867f7063efd2 (diff)
downloadtoybox-664c417af5d16e217557468ba747a369e8e1ab6b.tar.gz
Add lots of "static" annotations, make a couple things use FLAG() macros, etc.
Diffstat (limited to 'lib/args.c')
-rw-r--r--lib/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/args.c b/lib/args.c
index f5d3dc24..ef23cc07 100644
--- a/lib/args.c
+++ b/lib/args.c
@@ -228,7 +228,7 @@ static int gotflag(struct getoptflagstate *gof, struct opts *opt, int shrt)
// Parse this command's options string into struct getoptflagstate, which
// includes a struct opts linked list in reverse order (I.E. right-to-left)
-int parse_optflaglist(struct getoptflagstate *gof)
+static int parse_optflaglist(struct getoptflagstate *gof)
{
char *options = toys.which->options;
long *nextarg = (long *)&this;