aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-07-21 21:59:03 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-07-21 21:59:03 +0000
commit2f8dd115d2bf15e3866cbe0b98c73145853681f8 (patch)
treebe763ce5fbb67290826f0a1e1d85a628e5409dca /gcc/c-lex.c
parent565083069d08d22e1c8882948fba1e90dcde1388 (diff)
downloadgcc-2f8dd115d2bf15e3866cbe0b98c73145853681f8.zip
gcc-2f8dd115d2bf15e3866cbe0b98c73145853681f8.tar.gz
gcc-2f8dd115d2bf15e3866cbe0b98c73145853681f8.tar.bz2
c-lex.c (GET_ENVIRONMENT): Remove.
* c-lex.c (GET_ENVIRONMENT): Remove. * collect2.c (GET_ENV_PATH_LIST): Remove. (prefix_from_env): Use GET_ENVIRONMENT. * cppinit.c (GET_ENV_PATH_LIST): Remove. (init_standard_includes): Use GET_ENVIRONMENT. * defaults.h (GET_ENVIRONMENT): Define here if not already. * gcc.c (GET_ENV_PATH_LIST): Remove. (make_relative_prefix, process_command): Update. * protoize.c (GET_ENV_PATH_LIST): Remove. (do_processing): Update. java: * jcf-path.c (GET_ENV_PATH_LIST): Remove. (jcf_path_init): Use GET_ENVIRONMENT. From-SVN: r55630
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 4a7f05a..bf5c424 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -44,9 +44,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "mbchar.h"
#include <locale.h>
#endif /* MULTIBYTE_CHARS */
-#ifndef GET_ENVIRONMENT
-#define GET_ENVIRONMENT(ENV_VALUE,ENV_NAME) ((ENV_VALUE) = getenv (ENV_NAME))
-#endif
/* The current line map. */
static const struct line_map *map;