aboutsummaryrefslogtreecommitdiff
path: root/coreutils/env.c
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-02-22 17:01:00 +0000
committerGravatar Rob Landley <rob@landley.net>2006-02-22 17:01:00 +0000
commit0a7c8ef6e220b5f8fff4f2cb0af630255a2a6a58 (patch)
treef32eb89325299a3abade721ffe149b0e516747c1 /coreutils/env.c
parentfb16d5c6aa8aef30d313356b5a83ef0a60114c9a (diff)
downloadbusybox-0a7c8ef6e220b5f8fff4f2cb0af630255a2a6a58.tar.gz
busybox-0a7c8ef6e220b5f8fff4f2cb0af630255a2a6a58.tar.bz2
Patch from Denis Vlasenko to constify things and fix a few typos.
Diffstat (limited to 'coreutils/env.c')
-rw-r--r--coreutils/env.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/env.c b/coreutils/env.c
index d59e738f1..156f4e77d 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -59,8 +59,9 @@ static const struct option env_long_options[] = {
extern int env_main(int argc, char** argv)
{
+ static char *cleanenv[1] = { NULL };
+
char **ep, *p;
- char *cleanenv[1] = { NULL };
unsigned long opt;
llist_t *unset_env = NULL;
extern char **environ;