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:
@@ -72,6 +72,7 @@ gnulib_modules="
|
||||
dirfd
|
||||
dirname
|
||||
dup2
|
||||
environ
|
||||
error
|
||||
euidaccess
|
||||
exclude
|
||||
|
||||
@@ -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'},
|
||||
|
||||
@@ -45,8 +45,6 @@ enum { PRINTENV_FAILURE = 2 };
|
||||
proper_name ("David MacKenzie"), \
|
||||
proper_name ("Richard Mlynarik")
|
||||
|
||||
extern char **environ;
|
||||
|
||||
void
|
||||
usage (int status)
|
||||
{
|
||||
|
||||
@@ -39,8 +39,6 @@
|
||||
|
||||
static char *program_path;
|
||||
|
||||
extern char **environ;
|
||||
|
||||
static struct
|
||||
{
|
||||
size_t size;
|
||||
|
||||
Reference in New Issue
Block a user