From 847fa779aff2592e842654b95dc2c321885e1eec Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 28 Jan 2008 22:45:43 +0000 Subject: *: tidy up usage of char **environ --- coreutils/env.c | 2 -- coreutils/printenv.c | 1 - 2 files changed, 3 deletions(-) (limited to 'coreutils') diff --git a/coreutils/env.c b/coreutils/env.c index b45cbcc7d..7273d39fc 100644 --- a/coreutils/env.c +++ b/coreutils/env.c @@ -30,8 +30,6 @@ */ #include /* struct option */ -extern char **environ; - #include "libbb.h" #if ENABLE_FEATURE_ENV_LONG_OPTIONS diff --git a/coreutils/printenv.c b/coreutils/printenv.c index bac77e2a8..06d68d0ef 100644 --- a/coreutils/printenv.c +++ b/coreutils/printenv.c @@ -9,7 +9,6 @@ */ #include "libbb.h" -extern char **environ; int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int printenv_main(int argc, char **argv) -- cgit v1.2.3