aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2013-03-17 21:25:53 +0000
committerDJ Delorie <dj@redhat.com>2013-03-17 21:25:53 +0000
commiteea302037a35add252f2428a463dc7796d67e192 (patch)
treed4585ff464d4551759db25b18bc907abd0ababe7 /libiberty/setenv.c
parenta09ae1c1e873dca08128d8c9cc225a67efd74870 (diff)
downloadgdb-eea302037a35add252f2428a463dc7796d67e192.zip
gdb-eea302037a35add252f2428a463dc7796d67e192.tar.gz
gdb-eea302037a35add252f2428a463dc7796d67e192.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/setenv.c')
-rw-r--r--libiberty/setenv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libiberty/setenv.c b/libiberty/setenv.c
index 921e968..96917d5 100644
--- a/libiberty/setenv.c
+++ b/libiberty/setenv.c
@@ -63,11 +63,8 @@ extern int errno;
#define __environ environ
#ifndef HAVE_ENVIRON_DECL
-/* MinGW defines environ to call a function. */
-#ifndef environ
extern char **environ;
#endif
-#endif
#undef setenv
#undef unsetenv