1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-10 06:03:31 +02:00

maint: let gnulib provide environ

* bootstrap.conf (gnulib_modules): Add environ.
* src/env.c (environ): Delete declaration.
* src/printenv.c (environ): Likewise.
* src/stdbuf.c (environ): Likewise.
* src/su.c (environ): Likewise.
This commit is contained in:
Eric Blake
2009-10-26 14:32:59 -06:00
parent dae24f5ffc
commit c6900474ef
5 changed files with 1 additions and 8 deletions

View File

@@ -72,6 +72,7 @@ gnulib_modules="
dirfd
dirname
dup2
environ
error
euidaccess
exclude

View File

@@ -91,8 +91,6 @@
proper_name ("Richard Mlynarik"), \
proper_name ("David MacKenzie")
extern char **environ;
static struct option const longopts[] =
{
{"ignore-environment", no_argument, NULL, 'i'},

View File

@@ -45,8 +45,6 @@ enum { PRINTENV_FAILURE = 2 };
proper_name ("David MacKenzie"), \
proper_name ("Richard Mlynarik")
extern char **environ;
void
usage (int status)
{

View File

@@ -39,8 +39,6 @@
static char *program_path;
extern char **environ;
static struct
{
size_t size;

View File

@@ -113,8 +113,6 @@
char *crypt (char const *key, char const *salt);
extern char **environ;
static void run_shell (char const *, char const *, char **, size_t)
ATTRIBUTE_NORETURN;