aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-16 10:27:27 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-16 10:27:27 -0500
commitdf6c475e59d24a1e81db846e8fd2343050b6b583 (patch)
treed5fd68e960330725734fd56d7d02a7becbbd3c39 /src/common
parent92139b0077c8496006350f94aefbb72e29aa928f (diff)
parent954eeda619a59dae76144ad69967f0ed7341b564 (diff)
downloadtor-df6c475e59d24a1e81db846e8fd2343050b6b583.tar.gz
tor-df6c475e59d24a1e81db846e8fd2343050b6b583.zip
Merge remote-tracking branch 'public/ticket19142'
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index ebf05f59e1..97d1fafbbb 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -2390,15 +2390,6 @@ make_path_absolute(char *fname)
#endif
}
-#ifndef HAVE__NSGETENVIRON
-#ifndef HAVE_EXTERN_ENVIRON_DECLARED
-/* Some platforms declare environ under some circumstances, others don't. */
-#ifndef RUNNING_DOXYGEN
-extern char **environ;
-#endif
-#endif
-#endif
-
/** Return the current environment. This is a portable replacement for
* 'environ'. */
char **