From 954eeda619a59dae76144ad69967f0ed7341b564 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 12 Dec 2016 10:55:10 -0500 Subject: Stop checking whether environ is declared. There seems to be pretty good evidence that it's always declared, and that checking for it is pointless. Closes ticket 19142. --- src/common/compat.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/common/compat.c') 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 ** -- cgit v1.2.3-54-g00ecf