summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap.conf1
-rw-r--r--src/env.c2
-rw-r--r--src/printenv.c2
-rw-r--r--src/stdbuf.c2
-rw-r--r--src/su.c2
5 files changed, 1 insertions, 8 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 185748936..f26dfcb4b 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -72,6 +72,7 @@ gnulib_modules="
dirfd
dirname
dup2
+ environ
error
euidaccess
exclude
diff --git a/src/env.c b/src/env.c
index b69a29a1b..ee5e6b6ce 100644
--- a/src/env.c
+++ b/src/env.c
@@ -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'},
diff --git a/src/printenv.c b/src/printenv.c
index 8185da6f8..dcdcb83f3 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -45,8 +45,6 @@ enum { PRINTENV_FAILURE = 2 };
proper_name ("David MacKenzie"), \
proper_name ("Richard Mlynarik")
-extern char **environ;
-
void
usage (int status)
{
diff --git a/src/stdbuf.c b/src/stdbuf.c
index 393071354..885356bec 100644
--- a/src/stdbuf.c
+++ b/src/stdbuf.c
@@ -39,8 +39,6 @@
static char *program_path;
-extern char **environ;
-
static struct
{
size_t size;
diff --git a/src/su.c b/src/su.c
index 0de67c95a..add100aeb 100644
--- a/src/su.c
+++ b/src/su.c
@@ -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;