From f16449b777f8405538f6aa75a6ce059e51bb5936 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 21 Jul 2002 21:59:03 +0000 Subject: * 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 --- gcc/protoize.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gcc/protoize.c') diff --git a/gcc/protoize.c b/gcc/protoize.c index 98179bc6cf3..61d583c0ceb 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -128,10 +128,6 @@ static const char * const standard_exec_prefix = STANDARD_EXEC_PREFIX; static const char * const target_machine = DEFAULT_TARGET_MACHINE; static const char * const target_version = DEFAULT_TARGET_VERSION; -#ifndef GET_ENV_PATH_LIST -#define GET_ENV_PATH_LIST(VAR,NAME) do { (VAR) = getenv (NAME); } while (0) -#endif - #endif /* !defined (UNPROTOIZE) */ /* Suffix of aux_info files. */ @@ -4415,7 +4411,7 @@ do_processing () } else { - GET_ENV_PATH_LIST (default_syscalls_dir, "GCC_EXEC_PREFIX"); + GET_ENVIRONMENT (default_syscalls_dir, "GCC_EXEC_PREFIX"); if (!default_syscalls_dir) { default_syscalls_dir = standard_exec_prefix; -- cgit v1.2.1