diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-26 14:32:59 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-26 21:30:28 -0600 |
commit | c6900474ef4e0acc02bf5ff41c933afeef4aae09 (patch) | |
tree | 09f7de0a8ce2e29713fb46a384631aa25c5a4326 /src | |
parent | dae24f5ffc4846ce5178b3f765aec9074ce73b08 (diff) | |
download | coreutils-c6900474ef4e0acc02bf5ff41c933afeef4aae09.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/env.c | 2 | ||||
-rw-r--r-- | src/printenv.c | 2 | ||||
-rw-r--r-- | src/stdbuf.c | 2 | ||||
-rw-r--r-- | src/su.c | 2 |
4 files changed, 0 insertions, 8 deletions
@@ -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; @@ -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; |