summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-21 21:59:03 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-21 21:59:03 +0000
commitf16449b777f8405538f6aa75a6ce059e51bb5936 (patch)
treebe763ce5fbb67290826f0a1e1d85a628e5409dca /gcc/c-lex.c
parentba059ac08df083b778d3285145cf7158756e612b (diff)
downloadgcc-f16449b777f8405538f6aa75a6ce059e51bb5936.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55630 138bc75d-0d04-0410-961f-82ee72b054a4
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 4a7f05ae746..bf5c424740f 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;