diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-22 17:01:00 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-22 17:01:00 +0000 |
commit | 407ef4f17ee659da92cbe5ffc1526828d94019eb (patch) | |
tree | f32eb89325299a3abade721ffe149b0e516747c1 /coreutils/env.c | |
parent | 9a3bdf5633322049d91c475b3dd5ad868212d7ec (diff) | |
download | busybox-w32-407ef4f17ee659da92cbe5ffc1526828d94019eb.tar.gz busybox-w32-407ef4f17ee659da92cbe5ffc1526828d94019eb.tar.bz2 busybox-w32-407ef4f17ee659da92cbe5ffc1526828d94019eb.zip |
Patch from Denis Vlasenko to constify things and fix a few typos.
git-svn-id: svn://busybox.net/trunk/busybox@14210 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 3 |
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[] = { | |||
59 | 59 | ||
60 | extern int env_main(int argc, char** argv) | 60 | extern int env_main(int argc, char** argv) |
61 | { | 61 | { |
62 | static char *cleanenv[1] = { NULL }; | ||
63 | |||
62 | char **ep, *p; | 64 | char **ep, *p; |
63 | char *cleanenv[1] = { NULL }; | ||
64 | unsigned long opt; | 65 | unsigned long opt; |
65 | llist_t *unset_env = NULL; | 66 | llist_t *unset_env = NULL; |
66 | extern char **environ; | 67 | extern char **environ; |