From 2f8dd115d2bf15e3866cbe0b98c73145853681f8 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 21 Jul 2002 21:59:03 +0000 Subject: 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 --- gcc/c-lex.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gcc/c-lex.c') 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 #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; -- cgit v1.1