From 0a7c8ef6e220b5f8fff4f2cb0af630255a2a6a58 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 22 Feb 2006 17:01:00 +0000 Subject: Patch from Denis Vlasenko to constify things and fix a few typos. --- coreutils/env.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'coreutils/env.c') 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; -- cgit v1.2.3