aboutsummaryrefslogtreecommitdiff
path: root/lib/env.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/env.c
parent9f7f62615f3963591af33fcc7582867f7063efd2 (diff)
downloadtoybox-664c417af5d16e217557468ba747a369e8e1ab6b.tar.gz
Add lots of "static" annotations, make a couple things use FLAG() macros, etc.
Diffstat (limited to 'lib/env.c')
-rw-r--r--lib/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/env.c b/lib/env.c
index 70fb0def..facde63f 100644
--- a/lib/env.c
+++ b/lib/env.c
@@ -8,7 +8,7 @@ extern char **environ;
// Returns the number of bytes taken by the environment variables. For use
// when calculating the maximum bytes of environment+argument data that can
// be passed to exec for find(1) and xargs(1).
-long environ_bytes()
+long environ_bytes(void)
{
long bytes = sizeof(char *);
char **ev;