aboutsummaryrefslogtreecommitdiff
path: root/main.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 /main.c
parent9f7f62615f3963591af33fcc7582867f7063efd2 (diff)
downloadtoybox-664c417af5d16e217557468ba747a369e8e1ab6b.tar.gz
Add lots of "static" annotations, make a couple things use FLAG() macros, etc.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index a7a8a694..deea9897 100644
--- a/main.c
+++ b/main.c
@@ -146,7 +146,7 @@ void toy_init(struct toy_list *which, char *argv[])
// Run an internal toybox command.
// Only returns if it can't run command internally, otherwise xexit() when done.
-void toy_exec_which(struct toy_list *which, char *argv[])
+static void toy_exec_which(struct toy_list *which, char *argv[])
{
// Return if we can't find it (which includes no multiplexer case),
if (!which || (which->flags&TOYFLAG_NOFORK)) return;